aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Change -t on display-message to be target-pane for the #[A-Z]Nicholas Marriott2011-03-29
| | | | replacements and add -c as target-client.
* Add -a and -s options to lsp to list all panes in the server or sessionNicholas Marriott2011-03-28
| | | | respectively. Likewise add -s to lsw. From Ben Boeckel.
* Allow a start and end line to be specified for capture-pane which may beNicholas Marriott2011-03-28
| | | | | negative to capture part of the history. Prompted by request from Victor J Orlikowski.
* Style: uint -> u_int and a missing else.Nicholas Marriott2011-03-28
|
* Set the terminal blocking again earlier, before sending the resetNicholas Marriott2011-03-27
| | | | sequences.
* Don't include meta twice when working out the flags to output forNicholas Marriott2011-03-27
| | | | | xterm-style keys - bit 3 is accepted on input but not on output. Also a style nit in the header.
* Give each pane created in a tmux server a unique id (starting from 0),Nicholas Marriott2011-03-27
| | | | | put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel.
* Fix to properly wrap wide characters, from Micah Cowan.Nicholas Marriott2011-03-26
|
* Fix an incorrect test which was always true (oupper is always < olower),Nicholas Marriott2011-03-08
| | | | from Yusuke ENDOH.
* Prevent tiled producing a corrupt layout when only one column is needed,Nicholas Marriott2011-03-07
| | | | from Karl Ferdinand Ebert.
* Support passing through escape sequences to the underlying terminal byNicholas Marriott2011-03-07
| | | | | | | | | | using DCS with a "tmux;" prefix. Escape characters in the sequences must be doubled. For example: $ printf '\033Ptmux;\033\033]12;red\007\033\\' Will pass \033]12;red\007 to the terminal (and change the cursor colour in xterm). From Kevin Goodsell.
* Two fixes by Micah Cowan: make mouse work properly beyond >127 on signedNicholas Marriott2011-03-04
| | | | | char architectures and properly parse $TMUX by stopping the socket path at the first comma.
* Fix a typo that meant we did not reset the background colour when it wasNicholas Marriott2011-03-03
| | | | omitted in a 256-colour SGR ([48;5m). From Yusuke ENDOH.
* Add a -P option to detach to HUP the client's parent process (usuallyNicholas Marriott2011-03-03
| | | | causing it to exit as well).
* Size on split-window is -l not -s. Doh.Nicholas Marriott2011-02-10
|
* Don't require -d with -x or -y since it could be in the config file.Nicholas Marriott2011-02-03
|
* Redraw pane borders when switching to last pane.Nicholas Marriott2011-01-31
|
* Free old argument even if setting to NULL.Nicholas Marriott2011-01-30
|
* Accept tcgetattr/tcsetattr failure, fixes problems with fatal() if theNicholas Marriott2011-01-29
| | | | terminal disappears while locked.
* Use input_clear to reset the APC, DCS, OSC state or it could be reusedNicholas Marriott2011-01-28
| | | | improperly by a later state. From Kevin Goodsell.
* Unused declaration.Nicholas Marriott2011-01-26
|
* Simplify the way jobs work and drop the persist type, so all jobs areNicholas Marriott2011-01-26
| | | | | | | | | | | | | | | | | fire-and-forget. Status jobs now managed with two trees of output (new and old), rather than storing the output in the jobs themselves. When the status line is processed any jobs which don't appear in the new tree are started and the output from the old tree displayed. When a job finishes it updates the new tree with its output and that is used for any subsequent redraws. When the status interval expires, the new tree is moved to the old so that all jobs are run again. This fixes the "#(echo %H:%M:%S)" problem which would lead to thousands of identical persistent jobs and high memory use (this can still be achieved by adding "sleep 30" but that is much less likely to happen by accident).
* Use LIST_* not SLIST_*.Nicholas Marriott2011-01-26
|
* When clearing the entire screen, clear lines that are used into theNicholas Marriott2011-01-25
| | | | history like xterm does. Requested ages ago by someone I've forgotten.
* Check if the index is in use and fail before creating the child process,Nicholas Marriott2011-01-25
| | | | rather than leaving a stray child on failure.
* While here, maximum percentage is 100 not INT_MAX. Oops.Nicholas Marriott2011-01-23
|
* Size is -l not -s.Nicholas Marriott2011-01-23
|
* Allow top-bit-set characters to be used for key bindings, from TiagoNicholas Marriott2011-01-23
| | | | Cunha.
* Set $TMUX without the session when background jobs are run.Nicholas Marriott2011-01-23
|
* Fix bind-key -t.Nicholas Marriott2011-01-15
|
* Only set a mouse mode for mouse-select-pane if none already set by theNicholas Marriott2011-01-15
| | | | mode (any will do).
* Mouse highlight mode (1001) requires a program to cooperate soNicholas Marriott2011-01-15
| | | | supporting it through tmux is not as easy as this, remove it for now.
* Support -x and -y for new-session to specify the initial size of theNicholas Marriott2011-01-14
| | | | window if created detached with -d.
* The maximum history-limit was accidentally reduced, fix it back to INT_MAX.Nicholas Marriott2011-01-13
|
* Clarify alternate-screen description a little.Nicholas Marriott2011-01-13
|
* Er, fix next and previous session functions to actually work, part 2.Nicholas Marriott2011-01-13
|
* Fix next and previous session functions to actually work.Nicholas Marriott2011-01-13
|
* Log termios backspace for each client since it is used to recogniseNicholas Marriott2011-01-13
| | | | backspace input.
* Use TMPDIR if set, from Han Boetes.Nicholas Marriott2011-01-12
|
* unbind-key -a is allowed no arguments.Nicholas Marriott2011-01-10
|
* Remove a bit of text that makes exit-unattached description unclear.Nicholas Marriott2011-01-09
|
* Add missing arguments to some options.Nicholas Marriott2011-01-09
|
* Move all calls to fcntl(...O_NONBLOCK) into a function and clear theNicholas Marriott2011-01-08
| | | | | flag on the stdio file descriptors before closing them (fixes things like "tmux ls && cat").
* Accept colours of the hex form #ffffff and translate to the nearest fromNicholas Marriott2011-01-08
| | | | the xterm(1) 256-colour set.
* Whoops, command-prompt can take 0 or 1 argument.Nicholas Marriott2011-01-05
|
* Now that parsing is common, merge some of the small, related commandsNicholas Marriott2011-01-04
| | | | | | | 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.Nicholas Marriott2011-01-04
|
* Clean up and simplify tmux command argument parsing.Nicholas Marriott2011-01-04
| | | | | | | | | | | | | | | | | | | 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 262Nicholas Marriott2011-01-03
| | | | | | | | | | 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)Nicholas Marriott2011-01-03
| | | | correctly. Found by Thomas Adam.