Commit Graph

43 Commits

Author SHA1 Message Date
Kovid Goyal
9a179a7e90
Add focus reporting capabilities to terminfo
See https://lists.gnu.org/archive/html/bug-ncurses/2023-10/msg00117.html
2023-11-05 15:00:13 +05:30
Kovid Goyal
2fec9b372b
Add xterm terminfo entries for focus in/out events
Again not in man terminfo.
2023-07-04 20:48:12 +05:30
Kovid Goyal
e4dcd13f33
Add a few more entries present in xterm's terminfo
These are of course not in man terminfo, what a surprise.
2023-07-04 17:32:08 +05:30
Kovid Goyal
8f292d0390
Fix typo in the PS/PE terminfo entries 2023-07-04 17:14:10 +05:30
Kovid Goyal
b7fd46d971
Add entries for bracketed paste to kitty's terminfo
These were added to ncurses 6.4 in early 2023.
2023-06-24 08:07:59 +05:30
Eric Mrak
c344206a78 Add terminfo entries for cursor shape/color and underline color 2023-06-23 08:48:40 -07:00
Shinichi MOTOKI
a88164e3a2 Fix function key definitions in terminfo/termcap 2023-02-02 20:01:56 +09:00
Kovid Goyal
bcedbe5ec1
Revert "Change the terminfo entry for cud1 to not alter text to comply with the terminfo man page"
This reverts commit d8284befd3.
See https://github.com/kovidgoyal/kitty/issues/5766#issuecomment-1363025173
2022-12-22 21:49:32 +05:30
Kovid Goyal
d8284befd3
Change the terminfo entry for cud1 to not alter text to comply with the terminfo man page
Fixes #5766
2022-12-20 09:16:05 +05:30
Kovid Goyal
aead3c1c35
Also generate a termcap database entry when building terminfo 2022-04-12 22:38:52 +05:30
Kovid Goyal
5841776c65
Add the BEGIN key to terminfo
Fixes #4101
2021-10-07 13:15:06 +05:30
Kovid Goyal
473e1a6f22
Fix #3926
Apparently nvim assumes cnorm doesn't affect cursor shape. It's
ambiguous whether cnorm should affect it or not. So to prevent
regressions in case other programs assume that as well, have it only
make the cursor visible and blinking, without changing its shape.
2021-08-13 09:31:18 +05:30
Kovid Goyal
3287798efe
terminfo: Fix "cnorm" the property for setting the cursor to normal using a solid block rather than a blinking block cursor
cnorm should match the default cursor in kitty, which is a blinking
block. Fixes #3906
2021-08-07 15:15:59 +05:30
Kovid Goyal
610a09817f
Fix incorrect Sync terminfo entry 2021-07-03 09:18:33 +05:30
Kovid Goyal
b2a219f9d8
Add the Sync non-standard capability for synchronized updates to terminfo
Since the geniuses at terminal-wg are trying their best to create chaos
by retroactively changing the escape code used for this feature, it is
good to have a property for it in terminfo. Since tmux already uses Sync
for it, follow that in kitty's terminfo.
2021-07-01 08:48:59 +05:30
Kovid Goyal
63a36a1054
Add Smulx to terminfo
A couple of other terminals use it for styled underlines, in
contravention of the spec. But, in the interests of wider
interoperability add it to kitty as well.

Fixes #3725
2021-06-14 11:58:52 +05:30
Kovid Goyal
aa8282f8f2
Update actual terminfo files from last PR
Also add entry to changelog
2020-12-29 10:03:56 +05:30
Andrew Mayorov
390e883ecf
Update terminfo with CSI REP support 2020-05-29 01:06:16 +03:00
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