Skip to content

Your lightweight open-source personal agent.

chore(tui): remove redundant picker comment

chengyongru9bc9b94732ce
diff --git a/tui/src/picker-menu.ts b/tui/src/picker-menu.ts
index b3c92c6f8..d4625ab3a 100644
--- a/tui/src/picker-menu.ts
+++ b/tui/src/picker-menu.ts
@@ -137,9 +137,6 @@ export class PickerMenu<T> {
? { backgroundColor: RGBA.fromHex(this.theme.selectedBackground) }
: {}),
attributes: selected ? TextAttributes.BOLD : 0,
- // OpenTUI rechecks hover after rows are rebuilt. Treating that synthetic
- // `over` as pointer intent would undo a keyboard move whenever the mouse
- // remains over the previously selected row.
onMouseMove: () => {
if (this.selected === index) return
this.selected = index