aboutsummaryrefslogtreecommitdiff
path: root/tty.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2013-04-13
|\ | | | | | | | | Conflicts: tmux.c
| * Send an SGR0 after turning on modifyOtherKeys to fix Terminal.app whichNicholas Marriott2013-04-11
| | | | | | | | | | treats \033[>4;1m and \033[4;1m (bold+underline). Reported & tested by otto@.
| * Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott2013-03-27
| | | | | | | | few and unnecessary.
| * Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott2013-03-24
| |
| * Use tty_raw on stop, not tty_puts.Nicholas Marriott2013-03-22
| |
| * Correctly handle UTF8 mouse option being toggled, from Egmont Koblinger.Nicholas Marriott2013-03-22
| |
| * Include the \033 in the key tree and adjust key matching for this change.Nicholas Marriott2013-03-21
| |
| * Tidy by splitting default key tables into two.Nicholas Marriott2013-03-21
| |
* | Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott2013-02-23
| |
* | Add support for focus notifications when tmux pane changes, based on work byNicholas Marriott2013-02-22
| | | | | | | | Aaron Jensen.
* | Use tty_raw on stop, not tty_puts.Nicholas Marriott2013-02-18
| |
* | Correctly turn handle UTF8 mouse option being toggled, from Egmont Koblinger.Nicholas Marriott2013-02-18
| |
* | Support the latest theory for mouse input, this is enabled/disabled with SM/RMNicholas Marriott2013-02-18
| | | | | | | | | | 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.Nicholas Marriott2013-02-17
| |
* | In terminals with XT, turn on modifyOtherKeys=1 with the escape sequence andNicholas Marriott2013-02-17
| | | | | | | | 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 tty_raw, soNicholas Marriott2013-02-17
| | | | | | | | | | 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.Nicholas Marriott2013-02-16
| |
* | Tidy by splitting default key tables into two.Nicholas Marriott2013-02-15
| |
* | Merge branch 'obsd-master'Thomas Adam2013-01-30
|\| | | | | | | | | | | Conflicts: Makefile grid-utf8.c
| * Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott2013-01-18
| | | | | | | | | | UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
* | Merge branch 'obsd-master'Thomas Adam2013-01-17
|\|
| * Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.Nicholas Marriott2013-01-15
| |
* | Merge branch 'obsd-master'Thomas Adam2012-11-22
|\| | | | | | | Sync from OpenBSD.
| * Put helper function back, will be needed in a bit.Nicholas Marriott2012-11-22
| |
* | Merge branch 'obsd-master'Thomas Adam2012-10-01
|\|
| * Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder.Nicholas Marriott2012-09-29
| |
* | Merge branch 'obsd-master'Thomas Adam2012-09-15
|\| | | | | | | Sync from OpenBSD.
| * We can't tell what the terminal has done with a DCS string, so reset theNicholas Marriott2012-09-05
| | | | | | | | cursor and attributes afterwards.
| * Remove xterm CRA support - support is patchy and it will be done betterNicholas Marriott2012-09-03
| | | | | | | | using margins.
| * Tidy up tty_write, from Sean Estabrooks.Nicholas Marriott2012-08-14
| |
| * xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
| |
| * Remove a couple of unused variables from redbrain at gcc dot gnu dot org.Nicholas Marriott2012-06-20
| |
| * Store client in tty struct directly instead of using a callback functionNicholas Marriott2012-05-22
| | | | | | | | pointer.
| * Use tty_pane_full_width macro in some more places.Nicholas Marriott2012-05-22
| |
| * If there are any terminals with insert mode but not ich1, they can goNicholas Marriott2012-05-22
| | | | | | | | through the slow path. Tidies code slightly.
| * Move some common code to repeat spaces into a function.Nicholas Marriott2012-05-22
| |
| * Tidy up by adding a macro for the pane being the full screen width, fromNicholas Marriott2012-05-05
| | | | | | | | Ailin Nemui.
| * Missing ()s in macros.Nicholas Marriott2012-05-05
| |
| * Pull CRA out into a separate function and add ERA, from Ailin Nemui.Nicholas Marriott2012-05-05
| |
| * Add a simple form of output rate limiting by counting the number ofNicholas Marriott2012-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 forNicholas Marriott2012-03-17
| | | | | | | | | | 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 GeorgeNicholas Marriott2012-03-17
| | | | | | | | Nachman.
| * Do not clear to end of line if the line is full, fixes missing lastNicholas Marriott2012-03-17
| | | | | | | | character in rightmost pane.
| * Use the region lower not the pane size to work out where the bottom lineNicholas Marriott2012-03-17
| | | | | | | | is.
| * Tweak last fix to actually hit the right end of pane.Nicholas Marriott2012-03-17
| |
| * Check event_initialized before event_del if event may not have been setNicholas Marriott2012-03-17
| | | | | | | | up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
| * Revert screen-write.c r1.54 and fix the bug properly. After wrapping aNicholas Marriott2012-03-17
| | | | | | | | | | line in a pane, the cursor needs to move to the next line unless it scrolled.
| * Send secondary DA to terminals with XT in terminfo when starting up andNicholas Marriott2012-03-15
| | | | | | | | parse it to work out the xterm version.
| * Fix a warning. Doh.Nicholas Marriott2012-03-15
| |
| * Add a helper function for enabling an optimization to make some codeNicholas Marriott2012-03-15
| | | | | | | | clearer.