TNT/src
m1ngsama 03c89beeb4 Fix vim command mode double colon bug
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.
2025-11-29 10:00:00 +08:00
..
.gitkeep Initial commit 2025-07-01 09:00:00 +08:00
chat_room.c Initial commit 2025-07-01 09:00:00 +08:00
main.c Initial commit 2025-07-01 09:00:00 +08:00
message.c Initial commit 2025-07-01 09:00:00 +08:00
ssh_server.c Fix vim command mode double colon bug 2025-11-29 10:00:00 +08:00
tui.c Fix passwordless login and display alignment issues 2025-11-24 17:01:08 +08:00
utf8.c Initial commit 2025-07-01 09:00:00 +08:00