aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\|
| * Style nits and an unused struct.nicm2017-04-21
| |
| * Add cmd_find_from_winlink_pane and use it in a couple of places, andnicm2017-04-21
| | | | | | | | make functions that can't fail void.
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\|
| * It is annoying that the copy mode key table (or any other key table)nicm2017-04-21
| | | | | | | | | | | | | | | | | | | | | | | | will suppress root key table bindings. So change to always check the root table if no binding is found in the current table (whether it be the prefix table from pressing the prefix or the copy mode table from a pane). A root key binding can be blocked by binding the key to a command that does nothing (like send-keys with no arguments). Problem reported by Thomas Sattler.
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\|
| * More unnecessary arguments now winlink points back to session.nicm2017-04-21
| |
| * History needs to be loaded after config parsing is done - now thatnicm2017-04-21
| | | | | | | | commands are queued, that's in cfg_done not after start_cfg finishes.
| * Store state shared between multiple commands in the queue in a sharednicm2017-04-21
| | | | | | | | structure.
| * Do not run the config file in the context of the first client, insteadnicm2017-04-21
| | | | | | | | | | 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.
* | Fix after mergeThomas Adam2017-04-21
| |
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\| | | | | | | | | | | Conflicts: Makefile.am pty.c
| * Use fdforkpty() instead of our own unwrapped versions.nicm2017-04-20
| |
* | Typo; Daniel Hahler.Nicholas Marriott2017-04-21
| |
* | Do not need getopt.h for getopt, from Eric N Vander Weele.Nicholas Marriott2017-04-20
| |
* | Merge branch 'master' of github.com:tmux/tmuxNicholas Marriott2017-04-20
|\ \
| * | Merge branch 'obsd-master'Thomas Adam2017-04-20
| |\|
| | * Only set up a current target for mouse key bindings. Fixes:nicm2017-04-20
| | | | | | | | | | | | | | | | | | | | | 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.)
* | | getptmfd() and fdforkpty() compat.Nicholas Marriott2017-04-20
|/ /
* | Notes on target resolution.Nicholas Marriott2017-04-20
| |
* | Turn on debug if $VERSION is master rather than commenting and uncommenting.Nicholas Marriott2017-04-20
| |
* | Merge branch 'obsd-master'Thomas Adam2017-04-20
|\|
| * Now that struct winlink has a session pointer, can remove some arguments.nicm2017-04-20
| |
| * There is no real need for window_printable_flags to allocate, make itnicm2017-04-20
| | | | | | | | return a buffer from the stack.
| * If a #() command doesn't exit, use its most recent line of output (itnicm2017-04-20
| | | | | | | | | | | | | | 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...
* | Merge tag '2.4'Nicholas Marriott2017-04-20
|\ \ | | | | | | | | | Version 2.4.
| * | Enter date of release.Nicholas Marriott2017-04-20
| | |
| * | Missing :.Nicholas Marriott2017-04-20
| | |
| * | Changes to CHANGES.Nicholas Marriott2017-04-20
| | |
| * | Update CHANGES fileThomas Adam2017-04-20
| | |
| * | load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi.nicm2017-04-19
| | |
| * | Version 2.4.Nicholas Marriott2017-04-19
| | |
| * | Missed freezero.Nicholas Marriott2017-04-19
| | |
* | | Update TODO.Nicholas Marriott2017-04-20
| | |
* | | Add to TODO.Nicholas Marriott2017-04-20
| | |
* | | Merge branch 'obsd-master'Thomas Adam2017-04-19
|\ \ \ | | |/ | |/|
| * | load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi.nicm2017-04-19
| | |
* | | Merge branch 'obsd-master'Thomas Adam2017-04-19
|\| |
| * | Add a suspend helper function, and do not allow detaching or suspendingnicm2017-04-19
| | | | | | | | | | | | while already doing so.
| * | Style nits and a missing cast.nicm2017-04-19
| | |
* | | Merge branch 'obsd-master'Thomas Adam2017-04-19
|\| |
| * | When the data we have buffered to write to a terminal grows beyond anicm2017-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Missed freezero.Nicholas Marriott2017-04-19
| | |
* | | Merge branch 'obsd-master'Thomas Adam2017-04-19
|\| |
| * | Revert use of DECSLRM on iTerm2, it doesn't help as much as we throught,nicm2017-04-18
| | | | | | | | | | | | and there are some question marks about it's support.
| * | On terminals without DECSLRM, when a pane that is less than the fullnicm2017-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'obsd-master'Thomas Adam2017-04-18
|\| | | |/ |/|
| * Detect iTerm2 and use DECSLRM for it as well.nicm2017-04-18
| |
* | Merge branch 'obsd-master'Thomas Adam2017-04-18
|\|
| * Add a format for number of bytes writtent to client, useful for debugging.nicm2017-04-18
| |