fix(tui): resolve keybind conflicts and missing defaults#2
Conversation
…lyco#4997) - Fix Ctrl+C behavior on Windows: copies selection if present, otherwise clears/exits. - Resolve Ctrl+A conflict: move `model_provider_list` to `ctrl+alt+m`. - Fix Navigation: map `ctrl+n`/`ctrl+p` to move down/up and history next/prev. - Fix Multiline: ensure `shift+return` is mapped to newline. - Fix Word Navigation: ensure `ctrl+left`/`ctrl+right` are mapped. - Fix Word Deletion: ensure `alt+d` and `option+delete` are mapped.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Addresses Issue anomalyco#4997 by updating default keybinding configurations and enhancing the Prompt component to handle Copy operations intelligently.
Key Changes:
input_copy: Added default mapping (ctrl+c, super+c).model_provider_list: Changed fromctrl+atoctrl+alt+mto free upctrl+afor "Line Start".input_move_up/down: Addedctrl+p/ctrl+n.history_previous/next: Addedctrl+p/ctrl+n.input_newline: Verifiedshift+return.input_word_forward/backward: Verified/Addedctrl+right/ctrl+left.Promptcomponent now interceptsinput_copy(Ctrl+C). If a text selection exists, it copies to clipboard and stops propagation. Otherwise, it allows fallback toinput_clearorapp_exit.Verified via
test/config_defaults.test.ts.PR created automatically by Jules for task 18063428155983604517 started by @Ashwinhegde19