summaryrefslogtreecommitdiffstats
path: root/tmux.h
AgeCommit message (Collapse)Author
2014-01-31Break up and simplify screen_redraw_screen.nicm
2014-01-28Allow replacing each of the many sets of separate foo-{fg,bg,attr}nicm
options with a single foo-style option. For example: set -g status-fg yellow set -g status-bg red set -g status-attr blink Becomes: set -g status-style fg=yellow,bg=red,blink The -a flag to set can be used to add to rather than replace a style. So: set -g status-bg red Becomes: set -ag status-style bg=red Currently this is fully backwards compatible (all *-{fg,bg,attr} options remain) but the plan is to deprecate them over time. From Tiago Cunha.
2014-01-28Remember the last active pane in the top-bottom or left-right cell sonicm
that it can be restored when moving back to that cell with selectp -L/-R/etc. From Suraj N Kurapati.
2014-01-09Allow attach-session -t to accept a window and pane to select them onnicm
attach. Based on a diff from J Raynor.
2013-10-23Key to swap to other end of selection (bound to o with vi keys), from Jnicm
Raynor.
2013-10-20Do not run any command line command from the client which starts thenicm
server until after the configuration file completes. This prevents it racing against run-shell or if-shell in .tmux.conf that run in the background.
2013-10-10Remove the KERN_PROC_CWD the proc_current_path format (which is the onlynicm
thing that uses it now).
2013-10-10We accidentally haven't been using $TMUX to work out the session for anicm
while and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ.
2013-10-10Alter how tmux handles the working directory to internally use filenicm
descriptors rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '~', do: bind c neww -c ~ This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
2013-10-10Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048.nicm
2013-10-10Remove CMD_SENDENVIRON.nicm
2013-10-10Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd cannicm
be NULL. Avoids crash when a command in a command client can't be parsed.
2013-07-05Implement s, S, C mode switch commands in vi(1) mode, from Ben Boeckel.Nicholas Marriott
2013-06-23Focus events can cause trouble if left on and they can't be turned offNicholas Marriott
during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
2013-06-02The actual terminfo entries we ended up with for cursor changes are Cs,Nicholas Marriott
Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead of the ones we were using earlier.
2013-05-31Instead of eating 1024 bytes or so for the arguments of each command,Nicholas Marriott
save memory by using an RB tree. From Tiago Cunha.
2013-04-24Rename global configuration define.Nicholas Marriott
2013-04-22When using choose-tree -u, start with the current windowNicholas Marriott
highlighted. From Thomas Adam.
2013-03-27Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott
few and unnecessary.
2013-03-25Add -P and -F to new-session.Nicholas Marriott
2013-03-25Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott
to use it, extended from a diff from George Nachman.
2013-03-25Add a wait-for command which blocks a client on a named channel until itNicholas Marriott
is woken up again (with wait-for -S). From Thiago Padilha.
2013-03-24Add -A flag to new-session to make it behave like attach-session if theNicholas Marriott
session exists. If -A is used, -D behaves like -d to attach-session.
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
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.
2013-03-24Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott
2013-03-22Add session_set_current helper function, extracted from a diff fromNicholas Marriott
Aaron Jensen.
2013-03-22Add -e flag to capture-pane to include embedded ANSI SGR escapeNicholas Marriott
sequences, from George Nachman.
2013-03-22Fix double space in sessions template.Nicholas Marriott
2013-03-22Add resize-pane -x and -y for absolute pane size (much requested).Nicholas Marriott
2013-03-22Support the latest theory for mouse input, this is enabled/disabled withNicholas Marriott
SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
2013-03-21Instead of loads of little screen_write_*_on and off functions whichNicholas Marriott
just change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
2013-03-21Tidy by splitting default key tables into two.Nicholas Marriott
2013-03-21Fix constness of cmd_template_replace, window_choose_add_item andNicholas Marriott
window_choose_add_window.
2013-03-21Allow choose commands to be used outside tmux, so long as at least oneNicholas Marriott
client is attached.
2013-02-05Automatically reflow wrapped lines when a pane is resized, requested byNicholas Marriott
many over the years and finally implemented by Richard Woodbury.
2013-01-18Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott
UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
2013-01-17Remove the layout undo/redo code which never really worked.Nicholas Marriott
2013-01-15Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.Nicholas Marriott
2013-01-15If timing between keys is less than (by default) 1 millisecond, assumeNicholas Marriott
the text is being pasted. assume-paste-time option changes the value (0 disables). Based on a diff from Marcin Kulik.
2012-12-24Add missing function prototype.Nicholas Marriott
2012-11-27Fix return value of load_cfg, from Thomas Adam.Nicholas Marriott
2012-11-27Support middle-click paste, based on a diff from Ailin Nemui.Nicholas Marriott
2012-11-27Support the 47 and 1047 SM and RM sequences (alternate screen withoutNicholas Marriott
cursor), requested by I forget who ages ago.
2012-11-27Correctly aggregate together errors from nested config files (withNicholas Marriott
source-file). Fix by Thomas Adam, reported by Sam Livingstone-Gray
2012-11-22Put helper function back, will be needed in a bit.Nicholas Marriott
2012-11-19Use a utility function for common code to show errors in config file,Nicholas Marriott
from Thomas Adam.
2012-11-05Show last client activity time in default choose-client list.Nicholas Marriott
2012-10-26Make mouse event structure clearer by defining events (up, click, drag)Nicholas Marriott
and simplifying how buttons and wheels are represented, from Ailin Nemui. Should be no functional changes.
2012-10-02Allow session tree (C-b s) to expand and collapse sessions withNicholas Marriott
left/right/space keys. From Thomas Adam.
2012-09-25Add notification for input from a pane, from George Nachman.Nicholas Marriott