TNT/tests/unit
m1ngsama 9ca1e9d977 fix: data races, missing persistence, and input safety bugs
- Make client width/height _Atomic to fix data race between window-change
  callback thread and session thread
- Persist join/leave system messages via message_save()
- Fix ftell() error handling: check <= 0 instead of == 0
- Make room_add_message static to enforce lock-must-be-held contract
- Use local copy in execute_command to avoid mutating command_input
- Increase help_copy buffer from 4096 to 8192 for CJK text safety
- Add :q/:quit/:exit command for Vim-style disconnect
- Fix unit test Makefile to link common.c
2026-04-19 17:14:48 +08:00
..
Makefile fix: data races, missing persistence, and input safety bugs 2026-04-19 17:14:48 +08:00
test_message test: add comprehensive unit tests for UTF-8 and message functions 2026-02-08 10:29:19 +08:00
test_message.c test: add comprehensive unit tests for UTF-8 and message functions 2026-02-08 10:29:19 +08:00
test_utf8 test: add comprehensive unit tests for UTF-8 and message functions 2026-02-08 10:29:19 +08:00
test_utf8.c test: add comprehensive unit tests for UTF-8 and message functions 2026-02-08 10:29:19 +08:00