tui: fix agent cycling and prompt metadata polish (#23115)

This commit is contained in:
Kit Langton
2026-04-17 12:45:29 -04:00
committed by GitHub
parent 7a5278d5b4
commit c00c594239
4 changed files with 24 additions and 12 deletions
@@ -63,6 +63,7 @@ function init() {
useKeyboard((evt) => {
if (suspended()) return
if (dialog.stack.length > 0) return
if (evt.defaultPrevented) return
for (const option of entries()) {
if (!isEnabled(option)) continue
if (option.keybind && keybind.match(option.keybind, evt)) {