tui: improve keyboard navigation and MCP server status display

This commit is contained in:
Dax Raad
2025-10-31 19:47:08 -04:00
parent d4cb47eadc
commit 9beb0f8512
3 changed files with 4 additions and 4 deletions

View File

@@ -123,8 +123,8 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
const keybind = useKeybind()
useKeyboard((evt) => {
if (evt.name === "up") move(-1)
if (evt.name === "down") move(1)
if (evt.name === "up" || (evt.ctrl && evt.name === "p")) move(-1)
if (evt.name === "down" || (evt.ctrl && evt.name === "n")) move(1)
if (evt.name === "pageup") move(-10)
if (evt.name === "pagedown") move(10)
if (evt.name === "return") {