Commit Graph

25 Commits

Author SHA1 Message Date
Vlad Hanciuta
a61d70ea9a
Add strikethrough capabilities to terminfo
The termcap aliases are not standard, but they are used by Vim, it
seems. As far as I can tell, there are no standard termcap attribute for
strikethrough.
2020-04-18 16:37:09 +01:00
Vlad Hanciuta
e271719dd2
Add strikeout capability to terminfo 2020-04-18 16:05:30 +01:00
Luflosi
4767d2b8d6
Replace the "78" terminfo directory with a symlink 2019-03-02 03:04:20 +01:00
Yuri Khan
992de77040 Declare more function and editing keys with modifiers
Resolves #1220.
2018-12-11 23:42:59 +07:00
Dominique Martinet
07a4cec616 reset terminfo: add an empty OSC sequence to rs1 string
In OSC/OTH mode, the parser accumulate bytes until it fills up or
encounters some end-of-osc sequence.
After entering in either of these mode by mistake, for example by
displaying random bytes (e.g. cat a binary) nothing would print anymore
but input would still work.

In that situation, being able to hit `reset` and recover a usable
terminal helps.

You can try with `echo -e '\xc2\x9e'` for PM
2018-11-30 15:51:38 +09:00
Kovid Goyal
a91b3b9487
Revert addition of RGB to terminfo
See discussion 18fe2e8dfa
2018-11-21 10:33:55 +05:30
Kovid Goyal
18fe2e8dfa
Add the new RGB boolean capability to terminfo to indicate we support truecolor
See https://gist.github.com/XVilka/8346728#detection
2018-11-15 13:59:15 +05:30
Kovid Goyal
160fbd2071
Add a terminfo entry for full keyboard mode
Fixes #1122
2018-11-05 08:11:35 +05:30
Kovid Goyal
fda57a81e1
Fix Shift+function key not working
Also support pressing F13-f25 function keys. Fixes #485
2018-04-23 11:28:02 +05:30
Kovid Goyal
2ab6f57159
Add non-standard terminfo capabilities
Advertises support for truecolor and styled underlines.
The truecolor properties are used by at least tmux and neovim.
2018-02-08 10:26:13 +05:30
Kovid Goyal
e86c2f2000
Fix shift+up/down not generating correct escape codes
Fixes #186
2017-11-26 17:34:34 +05:30
Kovid Goyal
142c883b0c Implement DECCKM 2017-02-05 15:30:16 +05:30
Kovid Goyal
3cbb0b22dc Fix terminfo file not being used on OS X
On OS X tic has a different directory layout than on linux. Sigh.
2017-01-23 08:56:52 +05:30
Kovid Goyal
2be49e7f66 Add the status line capabilities to terminfo 2016-12-10 08:40:03 +05:30
Kovid Goyal
83787fbc40 Add the missing op terminfo code 2016-11-30 22:27:41 +05:30
Kovid Goyal
3031d41e72 Start work on supporting changing of entries in the color table 2016-11-24 15:28:52 +05:30
Kovid Goyal
ca7eb5baa9 Add the missing original colors code 2016-11-24 13:22:49 +05:30
Kovid Goyal
27170a481f Define shifted variants for a few common keys 2016-11-24 12:57:37 +05:30
Kovid Goyal
8610bffb40 Make terminfo data available in program 2016-11-24 11:29:28 +05:30
Kovid Goyal
854b8e84f7 Annotate terminfo features 2016-11-21 10:38:12 +05:30
Kovid Goyal
027a9751c1 Fix TAB not working and add entry for backtab to terminfo 2016-10-31 12:03:21 +05:30
Kovid Goyal
86789c5d84 Removed unused junk from the terminfo file 2016-10-21 08:30:18 +05:30
Kovid Goyal
b8df0e3382 Remove bce from the terminfo file as we do not do background color erase 2016-10-21 08:02:10 +05:30
Kovid Goyal
f9cc8f6584 Implement handling for special keys 2016-10-20 15:25:29 +05:30
Kovid Goyal
3bb429dfa8 Add a terminfo file for kitty
Just now it is simply a copy of the one from termite. Will adjust later,
if needed.
2016-10-17 18:20:08 +05:30