aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
* Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-08-21
|\
| * Clear window->flags when clearing winlinksThomas2013-08-20
| | | | | | | | | | | | | | | | When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for that window, clear the window->flags as well, otherwise sessions may well still see flags for winlinks long since cleared. This therfore introduces WINDOW_ALERTFLAGS to help with this.
* | Remove the barely-used and unnecessary command check() function.Nicholas Marriott2013-08-21
|/
* Add automatic-rename-format option allowing automatic rename to use somethingNicholas Marriott2013-08-19
| | | | other than pane_current_command.
* Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd can beNicholas Marriott2013-08-01
| | | | NULL. Avoids crash when a command in a command client can't be parsed.
* Add support for Cgywin, apparently it is enough just to open the tty again inNicholas Marriott2013-07-12
| | | | | | the server and fd passing is not necessary. Needs some ifdefs unfortunately but no way around that and some of them can go next time we're willing to do a protocol bump. Patch from J Raynor jxraynor at gmail dot com.
* Merge branch 'obsd-master'Thomas Adam2013-07-06
|\
| * Implement s, S, C mode switch commands in vi(1) mode, from Ben Boeckel.Nicholas Marriott2013-07-05
| |
| * Focus events can cause trouble if left on and they can't be turned offNicholas Marriott2013-06-23
| | | | | | | | | | during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
* | Focus events can cause trouble if left on and they can't be turned offNicholas Marriott2013-06-28
| | | | | | | | | | during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
* | Don't set TMUX_CONF in tmux.h.Nicholas Marriott2013-06-25
| |
* | Merge branch 'obsd-master'Thomas Adam2013-06-13
|\|
| * The actual terminfo entries we ended up with for cursor changes are Cs,Nicholas Marriott2013-06-02
| | | | | | | | | | Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead of the ones we were using earlier.
* | Merge branch 'obsd-master'Thomas Adam2013-05-31
|\|
| * Instead of eating 1024 bytes or so for the arguments of each command,Nicholas Marriott2013-05-31
| | | | | | | | save memory by using an RB tree. From Tiago Cunha.
* | Merge branch 'obsd-master'Thomas Adam2013-05-25
|\| | | | | | | | | Conflicts: tmux.h
| * Rename global configuration define.Nicholas Marriott2013-04-24
| |
* | Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-04-24
|\ \
| * | Merge branch 'obsd-master'Thomas Adam2013-04-23
| |\| | | | | | | | | | Sync from OpenBSD.
| | * When using choose-tree -u, start with the current windowNicholas Marriott2013-04-22
| | | | | | | | | | | | highlighted. From Thomas Adam.
* | | Use sysconfdir for the location of global tmux.conf (but default it to /etc),Nicholas Marriott2013-04-24
|/ / | | | | | | based on changes from Dagobert Michelsen.
* | Merge branch 'obsd-master'Thomas Adam2013-04-13
|\| | | | | | | | | Conflicts: tmux.c
| * Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott2013-03-27
| | | | | | | | few and unnecessary.
| * Add -P and -F to new-session.Nicholas Marriott2013-03-25
| |
| * Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott2013-03-25
| | | | | | | | to use it, extended from a diff from George Nachman.
| * Add a wait-for command which blocks a client on a named channel until itNicholas Marriott2013-03-25
| | | | | | | | is woken up again (with wait-for -S). From Thiago Padilha.
| * Add -A flag to new-session to make it behave like attach-session if theNicholas Marriott2013-03-24
| | | | | | | | session exists. If -A is used, -D behaves like -d to attach-session.
| * Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
| * Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott2013-03-24
| |
| * Add session_set_current helper function, extracted from a diff fromNicholas Marriott2013-03-22
| | | | | | | | Aaron Jensen.
| * Add -e flag to capture-pane to include embedded ANSI SGR escapeNicholas Marriott2013-03-22
| | | | | | | | sequences, from George Nachman.
| * Fix double space in sessions template.Nicholas Marriott2013-03-22
| |
| * Add resize-pane -x and -y for absolute pane size (much requested).Nicholas Marriott2013-03-22
| |
| * Support the latest theory for mouse input, this is enabled/disabled withNicholas Marriott2013-03-22
| | | | | | | | | | SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
| * Instead of loads of little screen_write_*_on and off functions whichNicholas Marriott2013-03-21
| | | | | | | | | | just change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
| * Tidy by splitting default key tables into two.Nicholas Marriott2013-03-21
| |
| * Fix constness of cmd_template_replace, window_choose_add_item andNicholas Marriott2013-03-21
| | | | | | | | window_choose_add_window.
| * Allow choose commands to be used outside tmux, so long as at least oneNicholas Marriott2013-03-21
| | | | | | | | client is attached.
* | Add -P and -F to new-session.Nicholas Marriott2013-03-22
| |
* | Extend jobs to support writing and use that for copy-pipe instead of popen,Nicholas Marriott2013-03-21
| | | | | | | | from Chris Johnsen.
* | Only send end guard if begin was sent, from George Nachman.Nicholas Marriott2013-03-13
| |
* | Add time and a command count to control mode guards, based on code from GeorgeNicholas Marriott2013-03-11
| | | | | | | | Nachman.
* | Rename session idx to session id throughout and add $ prefix to targets to useNicholas Marriott2013-03-07
| | | | | | | | it, extended from a diff from George Nachman.
* | Add a wait-for command which blocks a client on a named channel until it isNicholas Marriott2013-03-06
| | | | | | | | wokrn up again (with wait-for -S). From Thiago Padilha.
* | Preserve trailing spaces with capture-pane -J, from George Nachman.Nicholas Marriott2013-03-04
| |
* | Add -A flag to new-session to make it behave like attach-session if the sessionNicholas Marriott2013-02-24
| | | | | | | | exists. If -A is used, -D behaves like -d to attach-session.
* | Add resize-pane -Z to temporary zoom the active pane to occupy the full windowNicholas Marriott2013-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | or unzoom (restored to the normal layout) if it already zoomed, bound to C-b z by default. The pane is unzoomed on pretty much any excuse whatsoever. We considered making this a new layout but the requirements are quite different from layouts so decided it is better as a special case. Each current layout cell is saved, a temporary one-cell layout generated and all except the active pane set to NULL. Prompted by suggestions and scripts from several. Thanks to Aaron Jensen and Thiago Padilha for testing an earlier version.
* | Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
* | Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott2013-02-23
| |
* | Fix error reporting for client commands by adding a flag to cmd_find_client toNicholas Marriott2013-02-22
| | | | | | | | tell it whether or not to show errors, sometimes it's needed and sometimes not.