mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
There aren't many client message types or code to handle them so get rid of the
lookup table and use a switch, merge the tiny handler functions into it, and move the whole lot to client.c. Also change client_msg_dispatch to consume as many messages as possible and move the call to it to the right place so it checks for signals afterwards. Prompted by suggestions from eric@.
This commit is contained in:
2
Makefile
2
Makefile
@ -2,7 +2,7 @@
|
||||
|
||||
PROG= tmux
|
||||
SRCS= attributes.c buffer-poll.c buffer.c cfg.c client-fn.c \
|
||||
client-msg.c client.c clock.c cmd-attach-session.c cmd-bind-key.c \
|
||||
client.c clock.c cmd-attach-session.c cmd-bind-key.c \
|
||||
cmd-break-pane.c cmd-choose-session.c cmd-choose-window.c \
|
||||
cmd-clear-history.c cmd-clock-mode.c cmd-command-prompt.c \
|
||||
cmd-confirm-before.c cmd-copy-buffer.c cmd-copy-mode.c \
|
||||
|
Reference in New Issue
Block a user