Fix: Refactor TUI input handling with zcurses#2
Fix: Refactor TUI input handling with zcurses#2google-labs-jules[bot] wants to merge 1 commit intomainfrom
Conversation
Refactored the TUI framework to use the zsh/zcurses module for input handling and terminal control. This resolves issues with keyboard input and stray escape sequences by replacing a fragile manual implementation with a robust, library-driven approach. - Replaced manual 'read' calls with 'zcurses getch' for reliable key-press detection. - Centralized TUI initialization and cleanup with 'init_tui' and 'deinit_tui' functions. - Implemented a global 'trap' to ensure the terminal state is restored on exit. - Updated cursor control and other functions to use 'zcurses' equivalents.
|
👋 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 For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
Refactored the TUI framework to use the zsh/zcurses module for input handling and terminal control. This resolves issues with keyboard input and stray escape sequences by replacing a fragile manual implementation with a robust, library-driven approach.
PR created automatically by Jules for task 2304086198006599886 started by @Nsomnia