summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty-keys.c
AgeCommit message (Expand)Author
2014-10-22Fix some spacing nits.Nicholas Marriott
2014-07-21Drop explicit support for F13-F20 and change to match the xterm terminfoNicholas Marriott
2014-06-23Count mouse clicks correctly, from Balazs Kezes.Nicholas Marriott
2014-06-19Reset the buttons when the wheel is used, from Balazs Kezes.Nicholas Marriott
2014-06-19Some terminals send spurious releases for mouse wheel in SGR mouse mode,Nicholas Marriott
2014-05-08Instead of forcing mouse scroll to 1 in choose mode, scale it downNicholas Marriott
2014-04-03Work out mouse scroll wheel effect when the mouse is first detected andNicholas Marriott
2014-04-03A couple of trivial mouse-related style nits.Nicholas Marriott
2014-03-31Add names for mouse button bits rather than using magic numbers, fromNicholas Marriott
2014-02-10The last fix to xterm keys meant that some keys such as \033OA wereNicholas Marriott
2013-10-10Assign mouse x/y coords before checking them. When receiving mouseNicholas Marriott
2013-10-10Handle input mouse positions <33 (we already can generate them).Nicholas Marriott
2013-03-26Only accept partial keys if the timer has not expired, fixes infiniteNicholas Marriott
2013-03-25Process ^[ as meta when a partial key is found.Nicholas Marriott
2013-03-25Add home and end as modified by xterm in keypad mode, from ChrisNicholas Marriott
2013-03-24Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott
2013-03-22Support the latest theory for mouse input, this is enabled/disabled withNicholas Marriott
2013-03-22No more lint means no more ARGSUSED.Nicholas Marriott
2013-03-22Remove stray test code which would convert abc to x.Nicholas Marriott
2013-03-21Don't set key KEYC_NONE on xterm_keys_find match()Nicholas Marriott
2013-03-21Include the \033 in the key tree and adjust key matching for this change.Nicholas Marriott
2013-03-21Fix a comment for new key table names.Nicholas Marriott
2013-03-21Fix function parameter to tty_keys_free.Nicholas Marriott
2013-03-21Tidy by splitting default key tables into two.Nicholas Marriott
2012-11-22Put helper function back, will be needed in a bit.Nicholas Marriott
2012-11-22Instead of worrying about xterm version, send DA and read DEC serviceNicholas Marriott
2012-10-26Make mouse event structure clearer by defining events (up, click, drag)Nicholas Marriott
2012-09-03Can't call evtimer_pending on uninitialized events, callNicholas Marriott
2012-08-21xterm won't reach version 500 for a while so set that as the upper limit.Nicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-05-22Store client in tty struct directly instead of using a callback functionNicholas Marriott
2012-05-22Store mouse data in tty structure not on the stack.Nicholas Marriott
2012-04-22Handle partial keys properly by making sure the timer has actuallyNicholas Marriott
2012-03-21Some terminals respond to secondary DA with primary (they ignore theNicholas Marriott
2012-03-17On xterm 271 and later, put the terminal into SCL 5 and use DECCRA forNicholas Marriott
2012-03-17Check event_initialized before event_del if event may not have been setNicholas Marriott
2012-03-15Send secondary DA to terminals with XT in terminfo when starting up andNicholas Marriott
2011-03-04Two fixes by Micah Cowan: make mouse work properly beyond >127 on signedNicholas Marriott
2011-01-03Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262Nicholas Marriott
2011-01-01Key table should be const.Nicholas Marriott
2010-05-31When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott
2010-03-22Accept a full key match (not a partial) even if there is data left inNicholas Marriott
2009-12-17Allow keys to be replaced and reorder the table so that terminfo-defined keysNicholas Marriott
2009-12-14New server option, escape-time, to set the timeout used to detect if escapesNicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-12-01Look for mice and xterm keys before standard function keys as they are lessNicholas Marriott
2009-11-30Handle partial xterm function key sequences.Nicholas Marriott
2009-11-26Continue rather than returning if not a mouse key, to avoid hanging on anyNicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
2009-11-26Handle the possibility of partial mouse reads, and fix a comment while here.Nicholas Marriott