summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* DECRC and DECSC apparently need to preserve origin mode as well, basednicm2019-03-121-2/+2
| | | | on a fix from Marc Reisner.
* Fix HPA in origin mode.nicm2019-03-121-2/+2
|
* Fix resizing of control clients, should be ignored until SIZECHANGED flag set.nicm2019-03-121-3/+2
|
* Allow multiple modes to be open in a pane. A stack of open modes is keptnicm2019-03-121-2/+7
| | | | | | and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new.
* Add support for origin mode (DECOM, SM/RM ?6), from Marc Reisner.nicm2019-03-121-1/+2
|
* Make the mode used to view command output (a variant of copy mode) usenicm2019-03-081-3/+2
| | | | | its own mode definition struct with a different init function rather than calling special setup functions.
* Add a separate mode struct for the active window mode if any.nicm2019-03-071-12/+22
|
* Make adding mode formats a function pointer as well.nicm2019-03-071-3/+3
|
* Use starting client cwd in config file, GitHub issue 1606.nicm2019-02-161-1/+2
|
* Pass window into mode functions.nicm2018-12-181-4/+7
|
* Do not use PWD unless it actually matches the real working directory.nicm2018-11-221-1/+2
|
* Add a "terminal" colour which can be used instead of "default" in stylenicm2018-10-251-1/+4
| | | | | options for the terminal default colour, bypassing any inheritance from other options. Prompted by a discussion with abieber@.
* Support for windows larger than visible on the attached client. This hasnicm2018-10-181-21/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | been a limitation for a long time. There are two new options, window-size and default-size, and a new command, resize-window. The force-width and force-height options and the session_width and session_height formats have been removed. The new window-size option tells tmux how to work out the size of windows: largest means it picks the size of the largest session, smallest the smallest session (similar to the old behaviour) and manual means that it does not automatically resize windows. The default is currently largest but this may change. aggressive-resize modifies the choice of session for largest and smallest as it did before. If a window is in a session attached to a client that is too small, only part of the window is shown. tmux attempts to keep the cursor visible, so the part of the window displayed is changed as the cursor moves (with a small delay, to try and avoid excess redrawing when applications redraw status lines or similar that are not currently visible). The offset of the visible portion of the window is shown in status-right. Drawing windows which are larger than the client is not as efficient as those which fit, particularly when the cursor moves, so it is recommended to avoid using this on slow machines or networks (set window-size to smallest or manual). The resize-window command can be used to resize a window manually. If it is used, the window-size option is automatically set to manual for the window (undo this with "setw -u window-size"). resize-window works in a similar way to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a sets the window to the size of the smallest client (what it would be if window-size was smallest) and -A the largest. For the same behaviour as force-width or force-height, use resize-window -x or -y, and "setw -u window-size" to revert to automatic sizing.. If the global window-size option is set to manual, the default-size option is used for new windows. If -x or -y is used with new-session, that sets the default-size option for the new session. The maximum size of a window is 10000x10000. But expect applications to complain and much higher memory use if making a window excessively big. The minimum size is the size required for the current layout including borders. The refresh-client command can be used to pan around a window, -U -D -L -R moves up, down, left or right and -c returns to automatic cursor tracking. The position is reset when the current window is changed.
* Support for extended underline styles on terminals which offer them,nicm2018-10-181-1/+14
| | | | | enabled by adding the Smulx capability with terminal-overrides (add something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.
* Do not move the cursor when the mouse wheel is used, GitHub issue 1493.nicm2018-10-031-2/+2
|
* Allow panes to be 1 line or column by redrawing instead of using thenicm2018-09-251-6/+3
| | | | scroll region, from Soeren Tempel in GitHub issue 1487.
* Keep any text killed in the command prompt with C-w and yank it withnicm2018-08-291-1/+2
| | | | | C-y, only use the top buffer if no text has previously been killed. This and previous change promped by discussion with kn@.
* Move job struct into job.c.nicm2018-08-231-34/+13
|
* Add StatusLeft and StatusRight mouse key modifiers for the left andnicm2018-08-221-7/+14
| | | | right parts of the status line.
* Move offset of window list into status struct.nicm2018-08-201-1/+4
|
* Add a flag to force redrawing of the status line even if the contentnicm2018-08-191-2/+6
| | | | hasn't changed, needed for resizing.
* Add a client redraw-window flag instead of the redraw-all flag and fornicm2018-08-191-6/+7
| | | | all just use the three flags together (window, borders, status).
* SESSION_UNATTACHED flag is no longer necessary now we have an attachednicm2018-08-181-4/+3
| | | | count instead.
* Some tidying and helper functions.nicm2018-08-181-1/+2
|
* Bump the UTF-8 character array up to 18 to allow for more combiningnicm2018-08-091-4/+5
| | | | | | characters (some languages use up to five). This size doesn't make as much difference now that UTF-8 goes into an extended cell. GitHub issue 1430.
* Log command arguments.nicm2018-08-021-1/+2
|
* session_groups can be static also.nicm2018-08-021-4/+1
|
* Make key trees and some other bits static.nicm2018-08-021-9/+6
|
* Minor tidying.nicm2018-08-021-10/+11
|
* Make display-panes block the client until a pane is chosen or it times out.nicm2018-08-021-1/+2
|
* Move struct screen_sel into screen.c and tidy up members that are onlynicm2018-07-311-27/+5
| | | | used by copy mode.
* Remove a leftover unused struct.nicm2018-07-301-23/+1
|
* Add an "Any" key to run a command if a key is pressed that is not boundnicm2018-07-161-1/+4
| | | | in the current key table. GitHub issue 1404.
* Add set-hook -R to run a hook immediately (useful to set multiple hooksnicm2018-07-041-1/+2
| | | | to the same thing).
* Add accessors for grid linedata member, for some future work. From Dannicm2018-07-041-1/+3
| | | | Aloni.
* Instead of working out which pane to resize with the mouse by walkingnicm2018-06-081-1/+4
| | | | | the panes list, look through the layout cells for the nearest border and resize that cell. From Dan Aloni in GitHub issue 1374.
* Make server_client_get_cwd used (almost) everywhere we need to work outnicm2018-05-241-2/+2
| | | | | the cwd, and do not fall back to "." as it is pretty useless. GitHub issue 1331.
* Change how display-message uses the client. Originally it was onlynicm2018-04-181-1/+2
| | | | | | | | | | | | | intended as the target client where the message should be displayed but at some point (perhaps when -p was added), it was used for format expansion too. This means it can get a bit weird where you have client formats expanding for a client with a different current session than the target session. However, it is nice that display-message can be used to show information about a specific client. So change so that the -c client will be used if the session matches the target session (-t or default), otherwise the best client will be chosen.
* Add x and X to choose-tree (with a confirmation prompt) to kill annicm2018-04-101-1/+2
| | | | item. Suggested by Matt Zagrabelny.
* Insert full size panes at the right position, from KOIE Hidetaka innicm2018-03-161-2/+2
| | | | GitHub issue 1284.
* Add a missing client-detached hook when the server shuts down, and donicm2018-03-081-2/+5
| | | | | not exit until jobs started from run-shell/if-shell have finished (add a job flags member and a flag to indicate other jobs). GitHub issue 1245.
* Add -Z flag to choose-tree, choose-client, choose-buffer tonicm2018-02-281-1/+2
| | | | | | automatically zoom the pane when the mode is entered and unzoom when it exits, assuming the pane is not already zoomed. Add -Z to the default key bindings.
* Reflowing the grid in-place involved way too much memmove() for a bignicm2018-02-161-1/+2
| | | | | | | performance cost with a large history. Instead change back to using a second grid and copying modified lines over which is much faster (this doesn't revert to the old code however which didn't support UTF-8 properly). GitHub issue 1249.
* Add struct status_line to hold status line members of struct client, notnicm2018-02-051-5/+9
| | | | used yet but will be soon. From Thomas Adam.
* Upstream ncurses has introduced terminfo capabilities to specify RGBnicm2018-02-041-1/+2
| | | | | | | | | | | | | | | | | | | | | colour ("true" or "direct" colour). These consist of new entries (such as "xterm-direct") which have a different setaf/setab implementation, colors and pairs set to 0x1000000 and 0x10000, and a new RGB flag. The setaf/setab definitions seem to be geared towards what ncurses (or emacs maybe) needs, in that the new versions do only ANSI and RGB colours (they can't be used for the 256 colour palette); they rely on the silly ISO colon-separated version of SGR; and they use a weird multiplication scheme so they still only need one argument. The higher values of colors and pairs require a recent ncurses to parse. tmux can use the RGB flag to detect RGB colour support (keeping the old Tc extension for backwards compatibility for now). However, as we still want to send 256 colour information unchanged when possible, the new setaf/setab are awkward. So when RGB is present, reserve setaf/setab only for ANSI colours and use the escape sequences directly for 256 and RGB colours. (To my knowledge no recent terminal uses unusual escape sequences for these in any case.)
* Remove unused hooks_run function, from Thomas Adam.nicm2018-01-181-3/+1
|
* Report better error from server when socket create fails, GitHub issuenicm2017-12-191-2/+2
| | | | 1201.
* Add a common function for spreading out cells and use it for the twonicm2017-11-151-1/+3
| | | | | even layouts and to add a -E flag to select-layout to spread out cells evenly without changing parent cells.
* Completely rewrite the reflow code to correctly handle double widthnicm2017-11-151-2/+2
| | | | characters (previously they were not accounted for).
* Support mouse on preview in tree mode.nicm2017-11-031-2/+4
|