Claus Ibsen created CAMEL-26858:
-----------------------------------

             Summary: camel-jbang - Use the Kitty keyboard protocol and review 
the key bindings
                 Key: CAMEL-26858
                 URL: https://issues.apache.org/jira/browse/CAMEL-26858
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Claus Ibsen
             Fix For: 4.24.0


TamboUI 0.7.0 supports the Kitty keyboard protocol and turns it on by default 
(KeyboardProtocol.AUTO). CAMEL-26854 keeps camel tui on KeyboardProtocol.LEGACY 
for the plain upgrade, because with Kitty keys some keys arrive differently 
(Ctrl+I vs Tab, Esc and Alt combinations).

* Switch TuiBackendHelper to AUTO (local terminal and the --web session both 
use it) and check every key binding in a Kitty-protocol terminal (Kitty, 
Ghostty) and in a legacy one.
* With modifiers reported reliably, Alt+Enter (and Shift+Enter) can be a line 
break in the AI prompt. Today Alt+Enter sends the question like Enter, and 
Ctrl+N is the line break.
* Prefer the semantic key predicates over raw key codes where the bindings are 
reviewed.

See the TamboUI 0.7.0 release notes (tamboui #446, #592, #610, #611).

Follow-up of CAMEL-26854.

_Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to