diff --git a/tui/screens/main_screen.py b/tui/screens/main_screen.py index ad8fa3e..4c5b2c8 100644 --- a/tui/screens/main_screen.py +++ b/tui/screens/main_screen.py @@ -163,6 +163,12 @@ class MainScreen(Screen): # ── Events ───────────────────────────────────────────────────────────────── + def on_data_table_row_highlighted(self, event: DataTable.RowHighlighted) -> None: + """Cursor-Bewegung: conv_id sofort merken (für d-Taste etc.).""" + conv_id = self._conv_id_map.get(event.cursor_row) + if conv_id: + self._current_conv_id = conv_id + async def on_data_table_row_selected(self, event: DataTable.RowSelected) -> None: row_idx = event.cursor_row conv_id = self._conv_id_map.get(row_idx)