Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'obsd-master' | Thomas Adam | 2014-05-13 |
|\ | | | | | | | | | | | Conflicts: format.c window.c | ||
| * | Instead of forcing mouse scroll to 1 in choose mode, scale it down | nicm | 2014-05-08 |
| | | | | | | | | | | instead. Means modifier keys still increase the line count, just not as much. Based on a diff from Marcel Partap. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-04-05 |
|\| | | | | | | | | | | | Conflicts: Makefile tty-keys.c | ||
| * | Work out mouse scroll wheel effect when the mouse is first detected and | nicm | 2014-04-03 |
| | | | | | | | | | | | | | | store it in struct mouse_event, reduce the scroll size the 3 but allow shift to reduce it to 1 and meta and ctrl to multiply by 3 if the terminal supports them, also support wheel in choose mode. From Marcel Partap. | ||
| * | A couple of trivial mouse-related style nits. | nicm | 2014-04-03 |
| | | |||
| * | Add names for mouse button bits rather than using magic numbers, from | nicm | 2014-03-31 |
| | | | | | | | | Marcel Partap. | ||
* | | Add names for mouse button bits rather than using magic numbers, from Marcel | Nicholas Marriott | 2014-03-06 |
| | | | | | | | | Partap. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-02-16 |
|\| | | | | | | | | | | | Conflicts: tmux.1 tmux.c | ||
| * | The last fix to xterm keys meant that some keys such as \033OA were | nicm | 2014-02-10 |
| | | | | | | | | | | | | being wrongly treated as partial matches. So both check xterm keys after standard keys and only wildcard the minimum required ('1' to '8'). Problems reported by Ralf Horstmann and Tim van der Molen. | ||
| * | Assign mouse x/y coords before checking them. When receiving mouse | nicm | 2013-10-10 |
| | | | | | | | | | | | | inputs, we should set the x/y coordinates earlier than we currently do, so that we aren't off-by-one in the case when the statusbar is at the top of the screen. By Thomas Adam. | ||
| * | Handle input mouse positions <33 (we already can generate them). | nicm | 2013-10-10 |
| | | |||
* | | Assign mouse x/y coords before checking them | Thomas | 2013-08-20 |
| | | | | | | | | | | | | When receiving mouse inputs, we should set the x/y coordinates earlier than we currently do, so that we aren't off-by-one in the case when the statusbar is at the top of the screen. | ||
* | | Handle input mouse positions <33 (we already can generate them). | Nicholas Marriott | 2013-08-02 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas | 2013-03-26 |
|\| | |||
| * | Only accept partial keys if the timer has not expired, fixes infinite | Nicholas Marriott | 2013-03-26 |
| | | | | | | | | loop when Escape is pressed the wrong number of times. | ||
| * | Process ^[ as meta when a partial key is found. | Nicholas Marriott | 2013-03-25 |
| | | |||
| * | Handle focus events from the terminal, from Aaron Jensen. | Nicholas Marriott | 2013-03-24 |
| | | |||
| * | Support the latest theory for mouse input, this is enabled/disabled with | Nicholas Marriott | 2013-03-22 |
| | | | | | | | | | | SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger. | ||
| * | Don't set key KEYC_NONE on xterm_keys_find match() | Nicholas Marriott | 2013-03-21 |
| | | | | | | | | | | | | | | | | When calling xterm_keys_find(); if we get a complete match, don't set the key to unknown before calling the action to complete the binding; otherwise non-prefixed bindings will not work. From Thomas Adam | ||
| * | Fix a comment for new key table names. | Nicholas Marriott | 2013-03-21 |
| | | |||
* | | Process ^[ as meta when a partial key is found. | Nicholas Marriott | 2013-03-22 |
| | | |||
* | | Add a home and end as modified by xterm in keypad mode, from Chris Johnsen. | Nicholas Marriott | 2013-03-11 |
| | | |||
* | | Handle focus events from the terminal, from Aaron Jensen. | Nicholas Marriott | 2013-02-23 |
| | | |||
* | | Support the latest theory for mouse input, this is enabled/disabled with SM/RM | Nicholas Marriott | 2013-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 Marriott | 2013-02-17 |
| | | |||
* | | Remove stray test code which would convert abc to x. | Nicholas Marriott | 2013-02-17 |
| | | |||
* | | Don't set key KEYC_NONE on xterm_keys_find match() | Thomas Adam | 2013-02-16 |
| | | | | | | | | | | | | When calling xterm_keys_find(); if we get a complete match, don't set the key to unknown before calling the action to complete the binding; otherwise non-prefixed bindings will not work. | ||
* | | Don't omit half the default table (!= not ==). | Nicholas Marriott | 2013-02-16 |
| | | |||
* | | Include the \033 in the key tree and adjust key matching for this change. | Nicholas Marriott | 2013-02-16 |
| | | |||
* | | Fix a comment for new key table names. | Nicholas Marriott | 2013-02-15 |
| | | |||
* | | Fix function parameter to tty_keys_free. | Nicholas Marriott | 2013-02-15 |
| | | |||
* | | Tidy by splitting default key tables into two. | Nicholas Marriott | 2013-02-15 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2012-11-22 |
|\| | | | | | | | Sync from OpenBSD. | ||
| * | Put helper function back, will be needed in a bit. | Nicholas Marriott | 2012-11-22 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2012-10-26 |
|\| | | | | | | | Sync from OpenBSD. | ||
| * | Make mouse event structure clearer by defining events (up, click, drag) | Nicholas Marriott | 2012-10-26 |
| | | | | | | | | | | and simplifying how buttons and wheels are represented, from Ailin Nemui. Should be no functional changes. | ||
| * | Can't call evtimer_pending on uninitialized events, call | Nicholas Marriott | 2012-09-03 |
| | | | | | | | | | | evtimer_initialized first. Reported by Vladimir Lomov, fix from Thomas Adam slightly modified by me. | ||
| * | xterm won't reach version 500 for a while so set that as the upper limit. | Nicholas Marriott | 2012-08-21 |
| | | |||
| * | xfree is not particularly helpful, remove it. From Thomas Adam. | Nicholas Marriott | 2012-07-10 |
| | | |||
| * | Store client in tty struct directly instead of using a callback function | Nicholas Marriott | 2012-05-22 |
| | | | | | | | | pointer. | ||
| * | Store mouse data in tty structure not on the stack. | Nicholas Marriott | 2012-05-22 |
| | | |||
| * | Handle partial keys properly by making sure the timer has actually | Nicholas Marriott | 2012-04-22 |
| | | | | | | | | expired, fixes problems with mintty reported by Michael Simpson. | ||
| * | Some terminals respond to secondary DA with primary (they ignore the | Nicholas Marriott | 2012-03-21 |
| | | | | | | | | intermediate character). So ignore the possible responses to primary DA. | ||
| * | On xterm 271 and later, put the terminal into SCL 5 and use DECCRA for | Nicholas Marriott | 2012-03-17 |
| | | | | | | | | | | scrolling the region in panes (if the large region check isn't hit). With help from Ailin Nemui. | ||
| * | Check event_initialized before event_del if event may not have been set | Nicholas Marriott | 2012-03-17 |
| | | | | | | | | up; libevent2 complains about this. Reported by Moriyoshi Koizumi. | ||
| * | Send secondary DA to terminals with XT in terminfo when starting up and | Nicholas Marriott | 2012-03-15 |
| | | | | | | | | parse it to work out the xterm version. | ||
| * | Two fixes by Micah Cowan: make mouse work properly beyond >127 on signed | Nicholas Marriott | 2011-03-04 |
| | | | | | | | | | | char architectures and properly parse $TMUX by stopping the socket path at the first comma. | ||
| * | Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262 | Nicholas Marriott | 2011-01-03 |
| | | | | | | | | | | | | | | | | | | | | and supports larger terminals than the older way. If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all UTF-8 terminals. The option defaults to on if LANG etc are set in the same manner as the utf8 option. With help and based on code from hsim at gmx.li. | ||
| * | Key table should be const. | Nicholas Marriott | 2011-01-01 |
| | | |||
| * | When the mode-mouse option is on, support dragging to make a selection | Nicholas Marriott | 2010-05-31 |
| | | | | | | | | | | | | | | | | in copy mode. Also support the scroll wheel, although xterm strangely does not ignore it in application mouse mode, causing redraw artifacts when scrolling up (other terminals appear to be better behaved). |