| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
|
|
|
|
| |
Now that parsing is common, merge some of the small, related commands
together to use the same code.
Also add some arguments (such as -n and -p) to some commands to match
existing commands.
|
|
|
|
|
| |
argc will be 1 not 2 with no option value.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clean up and simplify tmux command argument parsing.
Originally, tmux commands were parsed in the client process into a
struct with the command data which was then serialised and sent to the
server to be executed. The parsing was later moved into the server (an
argv was sent from the client), but the parse step and intermediate
struct was kept.
This change removes that struct and the separate parse step. Argument
parsing and printing is now common to all commands (in arguments.c) with
each command left with just an optional check function (to validate the
arguments at parse time), the exec function and a function to set up any
key bindings (renamed from the old init function).
This is overall more simple and consistent.
There should be no changes to any commands behaviour or syntax although
as this touches every command please watch for any unexpected changes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
|
|
|
|
|
|
| |
Handle a # at the end of a replacement string (such as status-left)
correctly. Found by Thomas Adam.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Move the user-visible parts of all options (names, types, limit, default
values) together into one set of tables in options-table.c. Also clean
up and simplify cmd-set-options.c and move a common print function into
option-table.c.
|
| |
|
| |
|
|
|
|
|
|
| |
suspend-client has used -t for the client target (like everything else)
for ages, fix the usage string and man page and trim some leftover code.
|
|
|
|
|
| |
Last few tables that should be const.
|
|
|
|
|
| |
Sprinkle a little more const.
|
|
|
|
|
| |
Another table that should be const.
|
|
|
|
|
| |
Key table should be const.
|
|
|
|
|
|
| |
Add a -P option to new-window and split-window to print the new window
or pane index in target form (useful to pass it into other commands).
|
|
|
|
|
|
|
|
|
| |
Don't reset the activity timer for unattached sessions every second,
this screws up the choice of most-recently-used. Instead, break the time
update into a little function and do it when the session is attached.
Pointed out by joshe@.
|
|
|
|
|
| |
Remove unused variable.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Although they suck, they suck less than the alternatives.
|
|
|
|
|
| |
fix trailing whitespace;
|
|
|
|
|
| |
Remove some unused defines.
|
|
|
|
|
| |
Fix BUFFERS section now they are global.
|
| |
|
| |
|
|
|
|
|
| |
As a consequence buffer-limit is now a server option.
|
|
|
|
|
|
| |
Support all four of the xterm mouse modes. Based on a diff from hsim at
gmx.li.
|
|
|
|
|
|
| |
Allow the config file parser and source-file to return "don't exit" to
the client to let attach work from configuration files.
|
| |
|
|
|
|
|
|
| |
Instead of adding another BROKEN_* define, move event_init into
osdep-*.c.
|
| |
|