mirror of
https://oauth2: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@github.com/m1ngsama/TNT.git
synced 2026-06-26 07:04:37 +08:00
Move the vim-mode `:` command dispatcher (`:list`, `:nick`, `:msg`, `:last`, `:search`, `:mute-joins`, `:help`, `:clear`, `:q`, …) out of ssh_server.c into a dedicated module. New API (include/commands.h): - commands_dispatch(client_t *) -- single entry point invoked from handle_key when Enter is pressed in MODE_COMMAND. ssh_server.c shrinks from 1769 to 1513 lines (-256). Behaviour preserved: implementation is byte-for-byte the same. |
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| chat_room.h | ||
| commands.h | ||
| common.h | ||
| exec.h | ||
| message.h | ||
| ratelimit.h | ||
| ssh_server.h | ||
| tui.h | ||
| utf8.h | ||