diff --git a/docs/blog/posts/on-dog-food-the-original-metaverse-and-not-being-bored.md b/docs/blog/posts/on-dog-food-the-original-metaverse-and-not-being-bored.md index fab89158c..076cb96b5 100644 --- a/docs/blog/posts/on-dog-food-the-original-metaverse-and-not-being-bored.md +++ b/docs/blog/posts/on-dog-food-the-original-metaverse-and-not-being-bored.md @@ -288,7 +288,7 @@ So, thanks to this bit of code in my `Activity` widget... parent.move_child( self, before=parent.children.index( self ) - 1 ) - self.post_message_no_wait( self.Moved( self ) ) + self.emit_no_wait( self.Moved( self ) ) self.scroll_visible( top=True ) ``` diff --git a/src/textual/widgets/_data_table.py b/src/textual/widgets/_data_table.py index 62bcef1e5..39bcbcc54 100644 --- a/src/textual/widgets/_data_table.py +++ b/src/textual/widgets/_data_table.py @@ -1498,7 +1498,7 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True): def on_click(self, event: events.Click) -> None: self._set_hover_cursor(True) if self.show_cursor and self.cursor_type != "none": - # Only emit selection events if there is a visible row/col/cell cursor. + # Only post selection events if there is a visible row/col/cell cursor. meta = self.get_style_at(event.x, event.y).meta if meta: self.cursor_coordinate = Coordinate(meta["row"], meta["column"])