Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix some issues in bright colour handling. Bold background doesn't exist | 2015-04-15 | 1 | -17/+17 | ||
| | | | | | | | | so there is no reason for tty_check_bg to mess with the BRIGHT flag at all, ever. Also use aixterm colours for 256-to-16 translation if the terminal supports them. And there is no reason for tty_colours_bg to worry about whether the terminal supports them - tty_check_bg has already taken care of it. | |||||
* | Use tty_term_flag not _has for flags, also fix a typo (position not | 2015-04-15 | 1 | -3/+3 | ||
| | | | | permission). | |||||
* | Reset bracket paste mode on detach. | 2015-02-05 | 1 | -1/+3 | ||
| | ||||||
* | Focus off needs to be sent with tty_raw, reported by Geoff Nixon. | 2015-01-30 | 1 | -2/+2 | ||
| | ||||||
* | Support blinking cursor mode, both the xterm CSI ?12 h/l and (the | 2015-01-20 | 1 | -5/+9 | ||
| | | | | backwards) screen CSI 34 h/l. From Guanpeng Xu. | |||||
* | Remove support for the continuous reporting "any" mouse mode which never | 2014-08-09 | 1 | -7/+3 | ||
| | | | | really worked properly and is rarely used. | |||||
* | specifying ECHOCTL once is enough | 2014-04-25 | 1 | -2/+2 | ||
| | | | | ok nicm@ | |||||
* | Some more long lines. | 2014-04-17 | 1 | -3/+3 | ||
| | ||||||
* | Wrap some long lines. | 2014-04-17 | 1 | -2/+3 | ||
| | ||||||
* | Change terminal-overrides to a server option (now that we have them), it | 2014-02-23 | 1 | -3/+3 | ||
| | | | | doesn't make much sense as a session option. | |||||
* | If the terminfo entry has colors#256, assume that setaf and setab work | 2014-02-14 | 1 | -7/+23 | ||
| | | | | | | | and use them for the 256 colour set. If the terminfo entry doesn't have colors#256 and the user gives -2 to the client, use a \033[38;5;Xm sequence as before. Should allow fbterm to work with it's weird setaf and setab. | |||||
* | Allow replacing each of the many sets of separate foo-{fg,bg,attr} | 2014-01-28 | 1 | -3/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | options with a single foo-style option. For example: set -g status-fg yellow set -g status-bg red set -g status-attr blink Becomes: set -g status-style fg=yellow,bg=red,blink The -a flag to set can be used to add to rather than replace a style. So: set -g status-bg red Becomes: set -ag status-style bg=red Currently this is fully backwards compatible (all *-{fg,bg,attr} options remain) but the plan is to deprecate them over time. From Tiago Cunha. | |||||
* | Don't turn on modifyOtherKeys by default, it is annoying if tmux is | 2013-10-20 | 1 | -3/+2 | ||
| | | | | | killed and it's left on and we can't turn it on and off like we do for attributes. It's not hard to enable in .Xresources or .Xdefaults anyway. | |||||
* | Focus events can cause trouble if left on and they can't be turned off | 2013-06-23 | 1 | -3/+13 | ||
| | | | | | during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off. | |||||
* | revert r1.156 "Add support for focus notifications when tmux pane changes" | 2013-06-11 | 1 | -3/+3 | ||
| | | | | | beck@ found annoying beeps if a machine was shutdown while tmux is running and you then focus in/out of an xterm; kettenis tracked it down to 1.156. | |||||
* | The actual terminfo entries we ended up with for cursor changes are Cs, | 2013-06-02 | 1 | -10/+10 | ||
| | | | | | Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead of the ones we were using earlier. | |||||
* | Send an SGR0 after turning on modifyOtherKeys to fix Terminal.app which | 2013-04-11 | 1 | -3/+3 | ||
| | | | | | treats \033[>4;1m and \033[4;1m (bold+underline). Reported & tested by otto@. | |||||
* | Remove tmux's (already minimal) 88 colour support. Such terminals are | 2013-03-27 | 1 | -29/+5 | ||
| | | | | few and unnecessary. | |||||
* | Handle focus events from the terminal, from Aaron Jensen. | 2013-03-24 | 1 | -3/+3 | ||
| | ||||||
* | Add support for focus notifications when tmux pane changes, based on | 2013-03-24 | 1 | -2/+2 | ||
| | | | | work by Aaron Jensen. | |||||
* | Use tty_raw on stop, not tty_puts. | 2013-03-22 | 1 | -2/+2 | ||
| | ||||||
* | Correctly handle UTF8 mouse option being toggled, from Egmont Koblinger. | 2013-03-22 | 1 | -2/+4 | ||
| | ||||||
* | Support the latest theory for mouse input, this is enabled/disabled with | 2013-03-22 | 1 | -3/+14 | ||
| | | | | | SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger. | |||||
* | No more lint means no more ARGSUSED. | 2013-03-22 | 1 | -3/+1 | ||
| | ||||||
* | In terminals with XT, turn on modifyOtherKeys=1 with the escape sequence | 2013-03-22 | 1 | -2/+5 | ||
| | | | | and handle the most common set. Pass them through if xterm-keys is on. | |||||
* | I strongly suspect it is possible for tmux to block on detach in | 2013-03-22 | 1 | -4/+18 | ||
| | | | | | tty_raw, so make the fd blocking again much later and have tty_raw just retry the write a few times. | |||||
* | Include the \033 in the key tree and adjust key matching for this change. | 2013-03-21 | 1 | -2/+2 | ||
| | ||||||
* | Tidy by splitting default key tables into two. | 2013-03-21 | 1 | -2/+2 | ||
| | ||||||
* | Rather than having two grids for each pane, one for ASCII and one for | 2013-01-18 | 1 | -43/+27 | ||
| | | | | | UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later). | |||||
* | Implement ECH (erase character, CSI X). Reported by Christian Neukirchen. | 2013-01-15 | 1 | -1/+18 | ||
| | ||||||
* | Put helper function back, will be needed in a bit. | 2012-11-22 | 1 | -1/+9 | ||
| | ||||||
* | Instead of worrying about xterm version, send DA and read DEC service | 2012-11-22 | 1 | -10/+2 | ||
| | | | | | class which is more likely to be useful. Not used for anything yet anyway. | |||||
* | Don't need to send DECSL on detaching now, the code using higher levels | 2012-11-22 | 1 | -4/+1 | ||
| | | | | has gone. | |||||
* | Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder. | 2012-09-29 | 1 | -2/+4 | ||
| | ||||||
* | We can't tell what the terminal has done with a DCS string, so reset the | 2012-09-05 | 1 | -1/+7 | ||
| | | | | cursor and attributes afterwards. | |||||
* | Remove xterm CRA support - support is patchy and it will be done better | 2012-09-03 | 1 | -59/+2 | ||
| | | | | using margins. | |||||
* | Tidy up tty_write, from Sean Estabrooks. | 2012-08-14 | 1 | -17/+10 | ||
| | ||||||
* | xfree is not particularly helpful, remove it. From Thomas Adam. | 2012-07-10 | 1 | -6/+6 | ||
| | ||||||
* | Remove a couple of unused variables from redbrain at gcc dot gnu dot org. | 2012-06-20 | 1 | -3/+1 | ||
| | ||||||
* | Store client in tty struct directly instead of using a callback function | 2012-05-22 | 1 | -2/+3 | ||
| | | | | pointer. | |||||
* | Use tty_pane_full_width macro in some more places. | 2012-05-22 | 1 | -5/+3 | ||
| | ||||||
* | If there are any terminals with insert mode but not ich1, they can go | 2012-05-22 | 1 | -7/+2 | ||
| | | | | through the slow path. Tidies code slightly. | |||||
* | Move some common code to repeat spaces into a function. | 2012-05-22 | 1 | -33/+23 | ||
| | ||||||
* | Tidy up by adding a macro for the pane being the full screen width, from | 2012-05-05 | 1 | -24/+13 | ||
| | | | | Ailin Nemui. | |||||
* | Missing ()s in macros. | 2012-05-05 | 1 | -3/+3 | ||
| | ||||||
* | Pull CRA out into a separate function and add ERA, from Ailin Nemui. | 2012-05-05 | 1 | -12/+43 | ||
| | ||||||
* | Add a simple form of output rate limiting by counting the number of | 2012-03-20 | 1 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | certain C0 sequences (linefeeds, backspaces, carriage returns) and if it exceeds a threshold (current default 50/millisecond), start to redraw the pane every 100 milliseconds instead of making each change as it comes. Two configuration options - c0-change-trigger and c0-change-interval. This makes tmux much more responsive under very fast output (for example yes(1) or accidentally cat'ing a large file) but may not be perfect on all terminals and connections - feedback very welcome, particularly where this change has a negative rather than positive effect (making it off by default is a possibility). After much experimentation based originally on a request Robin Lee Powell (which ended with a completely different solution), this idea from discussion with Ailin Nemui. | |||||
* | On xterm 271 and later, put the terminal into SCL 5 and use DECCRA for | 2012-03-17 | 1 | -3/+42 | ||
| | | | | | scrolling the region in panes (if the large region check isn't hit). With help from Ailin Nemui. | |||||
* | Break out termios initialization into a separate function, from George | 2012-03-17 | 1 | -8/+15 | ||
| | | | | Nachman. | |||||
* | Do not clear to end of line if the line is full, fixes missing last | 2012-03-17 | 1 | -2/+2 | ||
| | | | | character in rightmost pane. |