| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
| |
Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262
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.
|
|
|
|
|
| |
Last few tables that should be const.
|
|
|
|
|
|
| |
Support all four of the xterm mouse modes. Based on a diff from hsim at
gmx.li.
|
|
|
|
|
| |
recently Timothy Larson.
|
|
|
|
|
|
|
| |
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
|
|
|
|
|
|
| |
Output the right keys for application and number keypad modes (they were the
wrong way round).
|
|
|
|
|
| |
Don't output rxvtisms either.
|
|
|
|
|
|
| |
It would help if I read my own comments... make alt keys work again by sending
alt AND the key not alt instead of it.
|
|
|
|
|
|
|
|
| |
Convert the window pane (pty master side) fd over to use a bufferevent.
The evbuffer API is very similar to the existing tmux buffer API so this was
remarkably painless. Not many possible ways to do it, I suppose.
|
|
|
|
|
|
|
|
| |
Not all terminals swap CSI and SS3 on ctrl, so remove that.
Also mark the rxvt special-cases as such until terminfo is updated to have
kLFT5, kRIT5 etc.
|
|
|
|
|
|
|
| |
Rewrite xterm-keys code (both input and output) so that works (doesn't always
output the same modifiers, accepts all the possible input keys) and is more
understandable.
|
|
|
|
|
| |
On second thoughts, drop the rxvt output entirely.
|
|
|
|
|
|
| |
Set the output code for ctrl+cursor keys correctly, and disable (comment)
rxvt-style output.
|
|
|
|
|
| |
Drop INPUTKEY_CTRL and just handle it as part of the table.
|
|
|
|
|
| |
Add or fix some comments.
|
|
|
|
|
| |
Tidy up table.
|
|
|
|
|
| |
Rename keypad keys to something more useful.
|
|
|
|
|
|
| |
Remove the xterm-keys code which is broken (a replacement is coming but some
more cleanup is needed first).
|
|
|
|
|
|
|
|
|
| |
Clean up by introducing a wrapper struct for mouse clicks rather than passing
three u_chars around.
As a side-effect this fixes incorrectly rejecting high cursor positions
(because it was comparing them as signed char), reported by Tom Doherty.
|
|
|
|
|
|
|
|
| |
Detect backspace by looking at termios VERASE and translate it into \177
(which matches screen's behaviour if not its termcap/terminfo entry). The
terminfo kbs cap is often wrong or missing so it can't be used, and just
assuming \177 may be wrong.
|
|
|
|
|
|
| |
Tidy up keys: use an enum for the key codes, and remove the macros which just
wrap flag sets/clears/tests.
|
| |
|
| |
|
|
|
|
|
|
|
| |
it and adjust for different panes. Also support mouse in window/session choice mode.
* Bring back the fancy window titles with session/window names: it is easy to work around problems with elinks (see FAQ).
|
| |
|
| |
|
| |
|
|
|
|
| |
still a couple of bugs (notably heap corruption somewhere causing segfault on exit).
|
| |
|
| |
|
|
|
|
| |
window option (xterm-keys) to output xterm key codes including ctrl and, if available, alt and shift.
|
|
|
|
| |
termcap and the ones termcap doesn't handle that we hardcode manually.
|
| |
|
| |
|
|
|
|
| |
separately but forgot :-/.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|