summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Make the mode draw function use the parent screen directly rather thannicm2017-11-021-7/+10
| | | | its own to avoid copying twice.
* Add a "fast" version of screen_write_copy for tree mode that doesn't donicm2017-11-021-1/+3
| | | | all the checks and selection and marking stuff needed for copy mode.
* Only show the first member of session groups in tree mode (-G flagnicm2017-11-021-1/+2
| | | | disables).
* Add P key to paste tagged in buffer mode, and trim some code that shouldnicm2017-10-251-2/+2
| | | | no longer be necessary.
* Infrastructure for drawing status lines of more than one line in height,nicm2017-10-161-1/+3
| | | | still only one is allowed but this lets tmux draw bigger ones.
* Show exit status and time in the remain-on-exit pane text, mostly fromnicm2017-10-121-1/+3
| | | | Timo Boettcher in GitHub issue 1103.
* Add support for the xterm(1) title stack, from Brad Town, GitHub issuenicm2017-10-051-1/+5
| | | | 1075.
* Instead of overloading the line clear function to mean free ifnicm2017-08-301-2/+2
| | | | | | | background is default (8), introduce an explicit free function and use it where a free alone is needed. Likewise, use memmove directly rather than grid_move_lines where it makes sense. Based on a memory leak fix by Dan Aloni in GitHub issue 1051.
* Pass flags into cmd_find_from_* to fix prefer-unattached, reported bynicm2017-08-301-10/+12
| | | | Thomas Sattler.
* Do not forbid targets to specify non-visible panes - the checks fornicm2017-08-281-2/+1
| | | | visibility are better where the target is used. GitHub issue 1049.
* Use kind and kri for S-Up/Down as well as kUP and kDN.nicm2017-08-271-1/+3
|
* Add -d flag to display-panes to specify timeout, and make 0 mean nonicm2017-08-161-2/+2
| | | | timeout. From Laurens Post.
* Rename BELL_* values to ALERT_* now they are used by more than bells,nicm2017-08-161-6/+6
| | | | based on a diff from Brad Town.
* Add selection_present format so commands in copy mode can use it, GitHubnicm2017-08-021-2/+3
| | | | issue 1028.
* Make bell, activity and silence alerting more consistent:nicm2017-07-261-1/+6
| | | | | | | | | | | | - remove the bell-on-alert option; - add activity-action and silence-action options with the same possible values as the existing bell-action; - add "both" value for the visual-bell, visual-activity and visual-silence options to trigger both a bell and a message. This means all three work the same way. Based on changes from Yvain Thonnart.
* Because ignore SIGCHLD early, letting signal_del restore it doesn't worknicm2017-07-141-2/+2
| | | | | correctly, so set it explicitly back to default (and the others for good measure).
* Move signal code into proc.c.nicm2017-07-121-8/+6
|
* Make shell_command a global like other stuff rather than making it annicm2017-07-121-2/+3
| | | | exception and using callback argument.
* proc_send_s now seems unnecessary.nicm2017-07-121-2/+1
|
* Some extra logging to show why tmux might exit.nicm2017-07-091-2/+2
|
* Change previous to not wait for both process exit and pty close -nicm2017-07-031-3/+2
| | | | | | instead if there is a pipe-pane active, do not exit until all data is read (including any libevent hasn't seen yet). Fixes problem reported by Theo Buehler and still seems to solve the original issue.
* Do not close panes until process has exited and any outstanding datanicm2017-07-031-2/+4
| | | | has been written to the pipe-pane event if there is one. GitHub issue 991.
* Try to show a better preview of sessions and windows in tree mode.nicm2017-06-301-2/+3
|
* Apply the xterm key flag when needed for send-keys, fixes problemnicm2017-06-281-3/+3
| | | | reported by Franky Spamschleuder.
* Add user-keys option to allow user-defined keys to be set, from Dannicm2017-06-231-1/+5
| | | | Aloni.
* Add explicit keys for the bracketed paste sequences, both to avoid mixnicm2017-06-121-1/+5
| | | | ups with other keys and to make logs clearer.
* Extend filters (f key) to buffer and client mode and add -f flag tonicm2017-06-091-4/+5
| | | | specify to command.
* Add -O option to choose-* to set initial sort order.nicm2017-06-091-2/+2
|
* Return 1 if name matches not 0, also fix some spaces.nicm2017-06-071-3/+3
|
* Add simple searching (C-s and n) to the various choose modes: by namenicm2017-06-071-4/+4
| | | | for client and tree, and by name and content for buffer.
* Be more strict about escape sequences that rename windows or set titles:nicm2017-06-041-1/+2
| | | | | ignore any that not valid UTF-8 outright, and for good measure pass the result through our UTF-8-aware vis(3).
* Support SIGUSR2 to stop and start logging for an existing server. Alsonicm2017-06-041-1/+3
| | | | | we currently only have two log levels so just use -v and -vv rather than -v and -vvvv, and clarify the man page entry for -v.
* Some applications like vi(1) and tmux until 10 minutes or so ago, do notnicm2017-05-311-4/+5
| | | | | | | redraw on SIGWINCH if the size returns to the original size between the original SIGWINCH and when they get around to calling TIOCGWINSZ. So use the existing resize timer to introduce a small delay between the two resizes.
* It is not OK to ignore SIGWINCH if SIOCGWINSZ reports the size hasnicm2017-05-311-3/+3
| | | | | | unchanged, because it may have changed and changed back in the time between us getting the signal and calling ioctl(). Always redraw when we see SIGWINCH.
* Because we defer actually resizing applications (calling TIOCSWINSZ)nicm2017-05-311-1/+4
| | | | | | | | | | | | | | | | | until the end of the server loop, tmux may have gone through several internal resizes in between. This can be a problem if the final size is the same as the initial size (what the application things it currently is), because the application may choose not to redraw, assuming the screen state is unchanged, when in fact tmux has thrown away parts of the screen, assuming the application will redraw them. To avoid this, do an extra resize if the new size is the same size as the initial size. This should force the application to redraw when tmux needs it to, while retaining the benefits of deferring (so we now resize at most two times instead of at most one - and only two very rarely). Fixes a problem with break-pane and zoomed panes reported by Michal Mazurek.
* Look for setrgbf and setrgbb terminfo extensions for RGB colour. This isnicm2017-05-311-77/+82
| | | | | the most reasonable of the various (some bizarre) suggestions for capabilities.
* Rewrite of choose mode, both to simplify and tidy the code and to addnicm2017-05-301-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some modern features. Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes. Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are: - each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane; - items may be sorted in different ways ('O' key); - multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once); - in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':'); - displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f'); - the custom format (-F) for the display is no longer available; - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z. Now that the code is simpler, other improvements will come later. Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree). Parts written by Thomas Adam.
* Add a flag to stop the prompt input being expanded.nicm2017-05-291-1/+2
|
* Store a copy of the old status line, will be needed soon for new choose mode.nicm2017-05-291-1/+3
|
* Function to count clients.nicm2017-05-291-1/+2
|
* Add ||, && format operators and C: to search pane content.nicm2017-05-291-2/+3
|
* Tidy command prompt callbacks and pass in the client.nicm2017-05-171-5/+8
|
* Check the terminfo(5) U8 capability and disable using UTF-8 for ACS ifnicm2017-05-151-1/+3
| | | | | | it is present and zero. This is useful for users with terminals or fonts that do not correctly support UTF-8 line drawing characters. GitHub issue 927, reported by Hiroaki Yamazoe and Akinori Hattori.
* The Konsole SU bug means it can't clear the entire scroll region (itnicm2017-05-151-1/+1
| | | | | | ignores if >= size, not if > as I first thought). So we can't effectively fix it in code - remove the workarounds which just cause bugs on other terminals.
* Scrolling needs to use background colour.nicm2017-05-121-7/+8
|
* ECH needs to use background colour.nicm2017-05-121-2/+2
|
* Store copy mode search string in pane so search-again command works evennicm2017-05-121-2/+2
| | | | | if you exit and reenter copy mode (it doesn't remember the position, just the search string), suggested by espie@.
* Make environ_log prefix take a format.nicm2017-05-111-2/+2
|
* Prevent control clients from affecting the session size until they havenicm2017-05-101-1/+2
| | | | | specified a size with refresh-client -C. Prompted by a different change with the same purpose from George Nachman.
* Insert copy mode bindings at the right place in the command queue.nicm2017-05-101-3/+3
|