summaryrefslogtreecommitdiffstats
path: root/options-table.c
AgeCommit message (Collapse)Author
2016-05-04Fix up a couple of long lines.nicm
2016-04-29Add option to include status text in the pane borders. Ifnicm
pane-border-status is set to "top" or "bottom" (rather than "off"), every pane has a permanent top or bottom border containing the text from pane-border-format. Based on a diff sent long ago by Jonathan Slenders, mostly rewritten and simplified by me.
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-12-12Add key-table option to set the default key table for a session, allowsnicm
different key bindings for different sessions and a few other things.
2015-11-24Don't allow options in table without scope set.nicm
2015-11-22If display-time is set to 0, show status messages until a key is pressed;tim
OK nicm@
2015-11-20Instead of separate tables for different types of options, give eachnicm
option a scope type (server, session, window) in one table.
2015-11-12Nuke the utf8 and status-utf8 options and make tmux only a UTF-8nicm
terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on).
2015-11-12Default history-file should be "" not NULL, from Greg Onufe.nicm
2015-11-11Drop mouse-utf8 option and always turn on UTF-8 mouse if the client saysnicm
it supports UTF-8.
2015-09-25Adding colors=256 to *256color* was always pretty stupid and now itnicm
won't work (without adding setaf@:setab@ too).
2015-08-28Remove the lock-server option which is a bit redundant, it isn't thatnicm
different without it.
2015-07-20Add an option (history-file) for a file to save/restore command promptnicm
history, from Olof-Joachim Frahm.
2015-05-12Add a session_alerts format which is a list of all the alerts in thenicm
current session in symbolic form (something like "0!,4~,5!"). Use this in the default set-titles-string. Prompted by a request from Jan ONDREJ.
2015-05-12Add bell-action "other" to pass through bells in all windows except thenicm
current, suggested by Jan ONDREJ.
2015-05-11Left the c0-* options behind in the table.nicm
2015-05-06Add a format window_linked which is 1 if a window has been linkednicm
multiple times, also remove the default space in window_flags and use a conditional to add it in window-status-format (this means additional flags can be added in the option without extra spaces). From Thomas Adam with tweaks by me.
2015-04-29If default-terminal is set to "screen" or "screen-*", emulate screen'snicm
historical (incorrect) behaviour for SGR 3 and send smso (standout). Previously, we would send sitm (italics) if the terminal outside had it and smso otherwise. This was acceptably until recently because xterm's terminfo entry lacked sitm, so most users got smso. People who want italics should set default-terminal to the forthcoming "tmux" entry (and be prepared to deal with it being missing on older hosts). As a side-effect this changes default-terminal to be a server rather than a session option. suggested by and ok naddy
2015-04-19Rewrite of tmux mouse support which was a mess. Instead of havingnicm
options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files.
2015-04-19Support setting the default window and pane background colours (windownicm
and active pane via window-style and window-active-style options, an individual pane by a new select-pane -P flag). From J Raynor.
2015-02-06Move pane border options to window options rather than session, from Marc Finet.nicm
2015-01-21In options-table.c r1.51 an extra space was added to the default status-right,sthen
overrunning status-right-length with long window titles. Allow for the extra space so the last digit of the year isn't lost. ok nicm@
2014-11-05Do not put a space between status-left/status-right and the window list,nicm
instead move the space into the defaults for the options (so status-left now defaults to "[#S] ". From Balazs Kezes.
2014-04-17Wrap some long lines.nicm
2014-04-17Remove some unnecessary includes and fix a typo.nicm
2014-04-17Remove the "info" message mechanism, this was only used for about fivenicm
mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now.
2014-04-17Remove the monitor-content option and associated bits and bobs. It'snicm
never worked very well. If there is a big demand for it to return, will consider better ways to do it.
2014-03-31Make message-limit a server option.nicm
2014-02-23Change terminal-overrides to a server option (now that we have them), itnicm
doesn't make much sense as a session option.
2014-01-28Fix missing argument, stupid last minute changes...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.
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-10Add automatic-rename-format option allowing automatic rename to usenicm
something other than pane_current_command.
2013-10-10Add length limit operator for formats.nicm
2013-10-05Change the default for the default-path option to ~. This is a quicknicm
change to turn off the KERN_PROC_CWD code which is unpredictable. Later it will go away and there may be other changes to how this works.
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-03-27Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott
few and unnecessary.
2013-03-25Revert the command-prefix change which breaks sequences of commands.Nicholas Marriott
2013-03-24Add option command-prefix which is automatically prepended to anyNicholas Marriott
command (apart from a naked default-shell). The default is "exec ".
2013-03-21Add -v to set and setw to show only option value.Nicholas Marriott
2013-01-17Remove the layout undo/redo code which never really worked.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-11-27Add window-status-last-* options, from Boris Faure.Nicholas Marriott
2012-04-29Add a flag to move-window to renumber the windows in a session (closingNicholas Marriott
any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
2012-04-23Add window-status-separator option, from Thomas Adam.Nicholas Marriott
2012-04-01Add a layout history which can be stepped through with select-layout -uNicholas Marriott
and -U commands (bound to 'u' and 'U' by default).
2012-03-2050 is a too low trigger default on larger terminals, bump to 250.Nicholas Marriott
2012-03-20Add a simple form of output rate limiting by counting the number ofNicholas Marriott
certain C0 sequences (linefeeds, backspaces, carriage returns) and if it exceeds a threshold (current default 50/millisecond), start to redraw the pane every 100 milliseconds instead of making each change as it comes. Two configuration options - c0-change-trigger and c0-change-interval. This makes tmux much more responsive under very fast output (for example yes(1) or accidentally cat'ing a large file) but may not be perfect on all terminals and connections - feedback very welcome, particularly where this change has a negative rather than positive effect (making it off by default is a possibility). After much experimentation based originally on a request Robin Lee Powell (which ended with a completely different solution), this idea from discussion with Ailin Nemui.
2012-03-17Add a wrap-search option to turn off wrapping of searches in copyNicholas Marriott
mode. From Jacobo de Vera.