aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Add missing error message when no target, GitHub issue 971.nicm2017-06-14
|
* Remove xterm flag from key before checking prefix, reported by Peternicm2017-06-13
| | | | Fern in GitHub issue 974.
* Need to flush out the linefeed after wrapper. GitHub issue 970.nicm2017-06-12
|
* Add explicit keys for the bracketed paste sequences, both to avoid mixnicm2017-06-12
| | | | ups with other keys and to make logs clearer.
* Extend filters (f key) to buffer and client mode and add -f flag tonicm2017-06-09
| | | | specify to command.
* Add -O option to choose-* to set initial sort order.nicm2017-06-09
|
* Default sort for buffer mode should be time not name.nicm2017-06-09
|
* Use brackets around prompts which looks better and matches the other modes.nicm2017-06-09
|
* Add a hook when the clipboard is set.nicm2017-06-09
|
* Add size to client descriptions in list, suggested by Greg Hurrell.nicm2017-06-08
|
* Return 1 if name matches not 0, also fix some spaces.nicm2017-06-07
|
* Add simple searching (C-s and n) to the various choose modes: by namenicm2017-06-07
| | | | for client and tree, and by name and content for buffer.
* Continue and pass keys through if they are repeated keys, so that thenicm2017-06-06
| | | | first key after a repeated key doesn't get lost.
* Do not pass a state into commands when fired on individual items in treenicm2017-06-06
| | | | | | | mode, rely on the %% target substitution in the command for the chosen pane and leave the default target as the current pane (where the mode is). Otherwise, joinp and similar end up with -t and -s the same. Reported by Jacob Niehus in GitHub issue 960.
* Delete input event when evbuffer_read() fails to avoid just spinningnicm2017-06-06
| | | | | around a dead file descriptor. Seems to fix a problem reported by Greg Hurrell in GitHub issue 941.
* Do not leak command, from David CARLIER.nicm2017-06-04
|
* Add a timeout to prevent the sequences which wait for a specificnicm2017-06-04
| | | | | | terminator (OSC, APC and DCS) waiting forever, which helps to avoid garbage (cat /dev/random) locking up panes completely. This (and the last commit) prompted by a discussion with theo.
* Remove unused variable.nicm2017-06-04
|
* Be more strict about escape sequences that rename windows or set titles:nicm2017-06-04
| | | | | 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-04
| | | | | 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.
* Typo/style; plus man page escaping from jmc.nicm2017-06-04
|
* Make set-clipboard a three-state option so tmux itself can ignore thenicm2017-06-03
| | | | sequencess.
* Foreground colours with the bright attribute set need to use the brightnicm2017-06-03
| | | | entries in the palette. GitHub issue 954.
* Style and spacing nits.nicm2017-05-31
|
* Shut up a warning.nicm2017-05-31
|
* time.h here too.nicm2017-05-31
|
* Need time.h.nicm2017-05-31
|
* Some applications like vi(1) and tmux until 10 minutes or so ago, do notnicm2017-05-31
| | | | | | | 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-31
| | | | | | 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-31
| | | | | | | | | | | | | | | | | 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-31
| | | | | 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-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Preserve search string when entering prompt again.nicm2017-05-30
|
* Add a flag to stop the prompt input being expanded.nicm2017-05-29
|
* Store a copy of the old status line, will be needed soon for new choose mode.nicm2017-05-29
|
* Function to count clients.nicm2017-05-29
|
* Add ||, && format operators and C: to search pane content.nicm2017-05-29
|
* Add m: for fnmatch(3) format matching.nicm2017-05-29
|
* Do not factor in screen_hsize() for the visible copy mode screen whennicm2017-05-29
| | | | | adjusting the selection, it should never have any useful history (and when it does, after resize, we shouldn't use it). From Michal Mazurek.
* Tweak text to mention initial size, from John Hood.nicm2017-05-29
|
* Support OSC 10 and 11 to set foreground and background colours, fromnicm2017-05-28
| | | | "bertnp" in GitHub issue 942.
* Change so that sessions created detached (-d or no client) are alwaysnicm2017-05-28
| | | | | 80x24 and the status line is not applied until they attach. Also make -x and -y work for control clients whether the session is detached or not.
* Also recalculate session sizes when refreh-client -C is used. GitHubnicm2017-05-28
| | | | issue 947.
* Tidy command prompt callbacks and pass in the client.nicm2017-05-17
|
* Line length and spaces to tabs.nicm2017-05-16
|
* Check the terminfo(5) U8 capability and disable using UTF-8 for ACS ifnicm2017-05-15
| | | | | | 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.
* Notify layout changed when choosing predefined layouts, from Joshua Brot.nicm2017-05-15
|
* The Konsole SU bug means it can't clear the entire scroll region (itnicm2017-05-15
| | | | | | 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.
* Scroll the right number of lines off the region when clearing.nicm2017-05-13
|
* Some other unused variables.nicm2017-05-13
|