Kovid Goyal
0be1295023
kitten run-shell: Make kitty terminfo database available if needed before starting the shell
2023-09-01 22:05:26 +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
Kovid Goyal
dfcd5381d9
Update URL for styled underlines protocol extension
2023-06-23 22:11:25 +05:30
Eric Mrak
c344206a78
Add terminfo entries for cursor shape/color and underline color
2023-06-23 08:48:40 -07:00
Kovid Goyal
2408ccb635
...
2023-05-09 08:48:37 +05:30
Kovid Goyal
a0cf4214df
...
2023-05-09 08:44:51 +05:30
Kovid Goyal
07203c67ca
Add a note about why kitty terminfo does not have E3
...
See #6255
2023-05-09 08:28:54 +05:30
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
pagedown
ba0f61d752
Refactor: More f-string for kitty
2022-01-29 20:17:46 +08:00
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +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
890a149a5d
Move generation of query responses into the query classes
2021-06-24 12:31:17 +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
6d7df1c5e8
Refactor configuration file parsing
...
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30
Bartosz Wróblewski
6bbe995d64
Generate u[6789] with terminfo.py
...
Should not hurt anything, it's just documenting kitty's existing VT220 compatibility.
2020-12-28 14:05:25 -08:00
Kovid Goyal
91a714947c
Fix encoding error when reporting capabilities for number of colors
2020-10-12 22:39:05 +05:30
Kovid Goyal
6a755bda45
A new kitten to easily query kitty for config values
2020-10-07 13:35:16 +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
Kovid Goyal
d3f37eeba4
more typing work
2020-03-14 11:42:05 +05:30
Kovid Goyal
cc1336a616
More typing work
...
Also use a mypy based linter when editing
2020-03-08 11:02:14 +05:30
Kovid Goyal
c9ce2f47dc
No top level typing issues found in kitty package
2020-03-04 07:31:22 +05:30
Luflosi
088ab5f137
Fix typo
2019-12-19 13:40:08 +01:00
Luflosi
a792c94ccf
Use python3 shebang for all python scripts
...
Fixes #1624 .
Use python3 shebang for all python scripts as python still defaults to python2 on many systems.
2019-05-20 14:44:24 +02: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
6c4aeeeadd
...
2018-10-10 09:39:53 +05:30
Kovid Goyal
8f7139d48f
Also respond to a terminfo query for "name" in addition to "TN"
2018-09-11 21:41:50 +05:30
Kovid Goyal
8b3b0064a9
...
2018-08-29 18:57:51 +05:30
Luflosi
1d91edfb00
dont -> don't
2018-08-29 03:18:25 +02:00
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
ed75ad0d41
Log a timestamp as well when printing error messages from python
2018-03-04 10:44:28 +05:30
Kovid Goyal
976c322b83
Print a couple of errors to stderr instead of stdout
2018-03-04 08:58:36 +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
273735f9dc
...
2018-01-31 10:14:08 +05:30
Kovid Goyal
c17c6cae4c
Support S8C1T mode
...
That is, eight bit control codes. When in S8C1T mode, kitty will send
only eight bit control codes to the client.
2017-12-05 20:21:12 +05:30
Kovid Goyal
52ecdfe3a9
Fix incorrect termcap query responses
...
Did not realize that the responses had to be processed via tparm() i.e.
they should be the actual bytes not the textual representation of them.
This broke the backspace key in vim.
2017-12-03 21:34:55 +05:30
Kovid Goyal
b9798c74d4
Support for DCS status and capabilities reporting codes
2017-12-02 14:35:06 +05:30