tea.WithInputTTY forces bubbletea to use raw ANSI/VT input on Windows
instead of the conInputReader, which correctly parses Ctrl+Alt+Key
combos as VT sequences (e.g. \x1b[102;6u → ctrl+alt+f).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Call enableVTInput after tea.NewProgram to restore VT input mode
on Windows (bubbletea v1 conInputReader disables it, breaking
Ctrl+Alt+Key combos)
- Move normalizeHotkey to internal/config.NormalizeHotkey, eliminate
duplicate implementations in tui and console packages
- Remove unused Sess() getter from App
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>