Age | Commit message (Collapse) | Author |
|
Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the
command entry structs and a couple of functions to check/set the flags.
|
|
Move some common and untidy code for window link/unlink into generic functions
instead of duplicating it in move/link window..
|
|
Make all messages sent between the client and server fixed size.
This is the first of two changes to make the protocol more resilient and less
sensitive to other changes in the code, particularly with commands. The client
now packs argv into a buffer and sends it to the server for parsing, rather
than doing it itself and sending the parsed command data.
As a side-effect this also removes a lot of now-unused command marshalling
code.
Mixing a server without this change and a client with or vice versa will cause
tmux to hang or crash, please ensure that tmux is entirely killed before
upgrading.
|
|
window instead of being an error.
|
|
from any sessions. In fact the implementation only affected the current
session, making it the same as unlink-window but destroying the window if it
was linked into only one session (unlinkw gives an error). Change the behaviour
to match what it documented and was originally intended.
|
|
maintain and is only going to get worse as more are used. So instead, add a new
uint64_t member to cmd_entry which is a bitmask of upper and lowercase options
accepted by the command.
This means new single character options can be used without the need to add it
explicitly to the list.
|
|
command line.
|
|
for which it is _current_ window.
|
|
|
|
|
|
|
|
includes and unused.
|
|
specified with -f. Just a list of tmux commands executed when the server is started and before and any session/window is created.
|
|
command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before.
|
|
|
|
than session.
|
|
being reused and causing confusion and problems.
|
|
|
|
|
|
to hold index and make sessions hold a RB tree of them rather than a fixed array.
|
|
|