Describe the bug
Symptoms:
- Pressing Ctrl-G to edit prompt in $EDITOR (vim) opens the editor correctly
- In INSERT mode, roughly every other keystroke is silently dropped (e.g. typing abcdefghi produces abdegi)
Affected version
OS: Linux (Ubuntu), lxterminal + tmux, TERM=xterm-256color
GitHub Copilot CLI 1.0.49
Steps to reproduce the behavior
See bug description
Expected behavior
The TUI should suspend its PTY hooks (or fully hand off the terminal) while the child editor process is running, then reclaim it on exit.
Additional context
WORKAROUND
Launch vim in a new tmux window (separate PTY):
$EDITOR wrapper (~/.local/bin/vim-copilot)
tmux new-window "/usr/bin/vim '$1'; tmux wait-for -S vim-done"
tmux wait-for vim-done
Describe the bug
Symptoms:
Affected version
OS: Linux (Ubuntu), lxterminal + tmux, TERM=xterm-256color
GitHub Copilot CLI 1.0.49
Steps to reproduce the behavior
See bug description
Expected behavior
The TUI should suspend its PTY hooks (or fully hand off the terminal) while the child editor process is running, then reclaim it on exit.
Additional context
WORKAROUND
Launch vim in a new tmux window (separate PTY):
$EDITOR wrapper (~/.local/bin/vim-copilot)
tmux new-window "/usr/bin/vim '$1'; tmux wait-for -S vim-done"
tmux wait-for vim-done