Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-21 | Store state shared between multiple commands in the queue in a shared | nicm | |
structure. | |||
2017-04-21 | Do not run the config file in the context of the first client, instead | nicm | |
use no client like we did before. This means commands like new-session won't try to attach if they are in the config file. | |||
2017-04-20 | Use fdforkpty() instead of our own unwrapped versions. | nicm | |
2017-04-20 | Only set up a current target for mouse key bindings. Fixes: | nicm | |
bind q select-pane -U \; resize-pane -Z (There is still some possible weirdness with the way we do current targets, it should probably be done in a different way at some point.) | |||
2017-04-20 | Now that struct winlink has a session pointer, can remove some arguments. | nicm | |
2017-04-20 | There is no real need for window_printable_flags to allocate, make it | nicm | |
return a buffer from the stack. | |||
2017-04-20 | If a #() command doesn't exit, use its most recent line of output (it | nicm | |
must be a full line). Don't let it redraw the status line more than once a second. Requested by someone about 10 years ago... | |||
2017-04-19 | load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi. | nicm | |
2017-04-19 | Add a suspend helper function, and do not allow detaching or suspending | nicm | |
while already doing so. | |||
2017-04-19 | Style nits and a missing cast. | nicm | |
2017-04-19 | When the data we have buffered to write to a terminal grows beyond a | nicm | |
reasonable amount (currently width * height * 8 bytes), discard all output to the terminal and start trying to redraw periodically instead. Continue with this until the amount of data we are trying to write falls to a low level again. This helps to prevent tmux sitting on a huge buffer of data when there are processes with fast output running inside tmux but the outside terminal is slow. A new client_discarded format holds the amount of data that has been discarded due to this mechanism. The three variables (when to start this, when to stop, and how often to redraw) are basically "works for me" at the moment, this is going in to see how it goes and if it causes problems for anyone else. | |||
2017-04-18 | Revert use of DECSLRM on iTerm2, it doesn't help as much as we throught, | nicm | |
and there are some question marks about it's support. | |||
2017-04-18 | On terminals without DECSLRM, when a pane that is less than the full | nicm | |
with of the terminal scrolls, tmux needs to redraw the entire pane. This results in a large amount of output data which can cause slow terminals to struggle, particularly when many lines are scrolled together quickly. This can be reduced by only redrawing when tmux doesn't hold any buffered data for the terminal. If a redraw is required and data is buffered, the redraw is deferred until all that data is consumed (it is checked after every event loop, a timer is used to ensure this happens at some point). While a redraw is pending, no additional data will be written to the terminal. The redraw still happens, now it is just pushed back if it is possible it would just add more data on top of a terminal that is already behind. This both gives the terminal a chance to catch up, and allows tmux to process more scrolling (that would require additional redraws) in the meantime. Helps with a problem reported by Greg Hurrell. | |||
2017-04-18 | Detect iTerm2 and use DECSLRM for it as well. | nicm | |
2017-04-18 | Add a format for number of bytes writtent to client, useful for debugging. | nicm | |
2017-04-18 | Do not check for BCE for a background colour that isn't needed, use | nicm | |
colour 8 instead. | |||
2017-04-18 | Include client name in key logging. | nicm | |
2017-04-17 | Don't bother moving the cursor for empty lines. | nicm | |
2017-04-17 | Remove a couple of redraw flags that no longer have any effect. | nicm | |
2017-04-16 | Memory leak, from David CARLIER. | nicm | |
2017-04-16 | Use EL1 to clear lines when redrawing the leftmost pane, rather than | nicm | |
spaces. | |||
2017-04-05 | Add Home and End for copy mode. | nicm | |
2017-04-05 | Try again to resolve problems with mistaking sessions for windows: now | nicm | |
do not look up windows as sessions (and panes as windows) when they are qualified with a ':' or a '.'. So 'foo' as a window target will look for windows and sessions called 'foo', but ':foo' will only look for windows, and 'foo:' only for sessions. This means the common case of using an unadorned session as a window target (send -tfoo) should continue to work, but an explicit window will not get confused with a session (send -t:foo). | |||
2017-04-05 | Give each client a name. This defaults to the tty name as before but | nicm | |
falls back to an alternative if the tty name is not available. This is clearer than overloading the client ttyname member and allows us to remove the path stored in the tty struct, it should always be the same as the client. | |||
2017-04-05 | cfg_file can be static. | nicm | |
2017-03-24 | Write raw strings in one go rather than character at a time. | nicm | |
2017-03-24 | Show count of search results in copy mode. | nicm | |
2017-03-22 | Add support for the strikethrough attribute (SGR 9), using the new smxx | nicm | |
terminfo capability. This means there are now nine attribute bits, so anything above 0xff uses an extended cell. | |||
2017-03-21 | Use uid_t for UID not u_int. | nicm | |
2017-03-21 | Fix movement after select-line, from Omar Sandoval. | nicm | |
2017-03-21 | Fix pane movement by direction (up, down, left, right) when | nicm | |
pane-border-status is set, from KOIE Hidetaka. | |||
2017-03-17 | Fix a couple of argument types. | nicm | |
2017-03-17 | Add h and l for collapse and expand in choose mode with vi(1) keys, from | nicm | |
Gregory Pakosz. | |||
2017-03-16 | Redraw after killp -a. | nicm | |
2017-03-15 | Invalidate the cursor when we think we should have wrapped. | nicm | |
2017-03-15 | Try to avoid moving the cursor to the start of the next line when | nicm | |
printing cells if it is already at the very end of the line and the terminal will wrap it to the next line itself, this means terminals still see it as a wrapped line for the purposes of their own mouse selection. Reported by millert@. | |||
2017-03-13 | Log where panes are created. | nicm | |
2017-03-13 | Revert previous, breaks normal short targets, reported by Theo Buehler. | nicm | |
2017-03-11 | Fix calculation of size for full size splits. | nicm | |
2017-03-11 | Only look for window and pane parts of target as a sesson and window if | nicm | |
they look like an ID. | |||
2017-03-09 | Clear the bracket paste mode when in the command prompt. | nicm | |
2017-03-09 | Move the client identify (display-panes) code into server-client.c. | nicm | |
2017-03-09 | Move server_fill_environ into environ.c and move some other common code | nicm | |
into it. | |||
2017-03-08 | Skip over padding cells when moving the cursor left or right. | nicm | |
2017-03-08 | Handle empty options correctly. | nicm | |
2017-03-08 | Always send smkx to the terminal outside, the keys we get from terminfo | nicm | |
are the keys when it is on. | |||
2017-03-08 | Add a helper function for the most common format_create/defaults/expand | nicm | |
pattern. | |||
2017-03-07 | Need to flush before writing out cells we are not collecting, also add | nicm | |
some extra logging. | |||
2017-03-07 | If moving cells outside the current used count, update it. | nicm | |
2017-03-06 | Collect strings correctly when on terminals that don't support UTF-8. | nicm | |