mirror of
https://github.com/m1ngsama/TNT.git
synced 2025-12-24 10:51:41 +00:00
When pressing ':' in NORMAL mode, the key was being processed twice: 1. handle_key() detected it and switched to COMMAND mode 2. The same ':' character was then added to command_input This resulted in '::' appearing instead of ':'. Solution: - Changed handle_key() to return bool indicating if key was consumed - Only add character to input if handle_key() returns false - All mode-switching keys now return true to prevent reprocessing Fixes the most annoying UX bug reported by users. |
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| chat_room.c | ||
| main.c | ||
| message.c | ||
| ssh_server.c | ||
| tui.c | ||
| utf8.c | ||