aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
|
* Compare >= for columns not >.nicm2017-05-12
|
* Can scroll away full lines to clear them too.nicm2017-05-12
|
* Remove an unused variable.nicm2017-05-12
|
* When expanding a line in order to clear it, we need to use the defaultnicm2017-05-12
| | | | | background colour - there may be portions that we do not want to clear with the new background colour.
* Need to store bg for ECH.nicm2017-05-12
|
* Cannot rely on cursor position after DL and IL (some terminals move tonicm2017-05-12
| | | | column 0, some do not).
* Need to clear tty context before using it.nicm2017-05-12
|
* Only redraw single client, and tweak some logging.nicm2017-05-12
|
* Scrolling needs to use background colour.nicm2017-05-12
|
* Regions can't be smaller than 2 so don't try to clear them by scrolling if so.nicm2017-05-12
|
* Can use INDN to clear regions with default background colour if marginsnicm2017-05-12
| | | | are supported.
* ECH needs to use background colour.nicm2017-05-12
|
* Store copy mode search string in pane so search-again command works evennicm2017-05-12
| | | | | if you exit and reenter copy mode (it doesn't remember the position, just the search string), suggested by espie@.
* Clear to start of screen needs to use background colour.nicm2017-05-11
|
* Need to redraw out to cellsize (total cells used in a line) rather thannicm2017-05-11
| | | | | cellused (only non-space cells) because there may be cells with a nondefault background.
* Make environ_log prefix take a format.nicm2017-05-11
|
* Change how we resolve which pane is dragging when there are multiplenicm2017-05-11
| | | | | options - choose the largest pane, which is more likely to be the one the user wants to resize. Prompted by a report from Thomas Sattler.