Mitchell Hashimoto
0d2bfacd5b
terminfo: add left/right margin entries
2023-10-10 15:59:24 -07:00
Tim Culverhouse
d0c673cdfc
terminfo: use 'xterm-ghostty' as primary name
...
Use "xterm-ghostty" as the primary terminfo name. This is a hack on a
hack...we use "xterm-ghostty" to prevent vim from breaking, and when we
do this as the default we break tcell-based applications (lazygit, aerc,
etc). tcell has a bug where the primary terminfo name must be the
value of TERM. https://github.com/gdamore/tcell/pull/639 fixes the issue
but is not merged yet.
Fixes: 779186ad ("config: add term config option")
2023-09-28 10:00:37 -05:00
Tim Culverhouse
5e473ebdb0
terminfo: add additional entries, fix smkx/rmkx
...
Add entries for secondary device attributes, XTVERSION.
2023-09-28 06:57:00 -05:00
Mitchell Hashimoto
0529c8bc28
terminfo: increase buffer size for test
2023-09-27 21:56:55 -07:00
Tim Culverhouse
25710dfa6d
terminfo: add mouse entries, correct kmouse
...
Add entries for XM and xm, these tell certain applications how to enable
mouse and the format of response they will receive.
Fix 'kmous' entry to match standard terminfo files.
2023-09-27 21:42:13 -05:00
Mitchell Hashimoto
4724e0dcb4
terminfo: numeric comptime buffer only needs to be 10 bytes
2023-09-27 14:35:22 -07:00
Mitchell Hashimoto
28329761a7
terminfo: xtgettcap map name should use the source name
2023-09-27 14:30:27 -07:00
Mitchell Hashimoto
a02378f969
terminfo: comptime map for xtgettcap results
2023-09-27 14:23:57 -07:00
Tim Culverhouse
fe0b93389e
terminfo: add bracketed paste entries BD, BE, PS, PE
...
Add terminal entries for bracketed paste mode and start/end signals
2023-09-27 09:20:13 -05:00
Mitchell Hashimoto
767a78020a
terminfo: add a few more missing entries from tmux(1)
2023-09-26 22:08:52 -07:00
Mitchell Hashimoto
ece4ddac81
terminfo: OSC 52 support
2023-09-26 21:56:22 -07:00
Tim Culverhouse
c77f0dc6fc
terminfo: add cursor styles to terminfo
...
Add Ss and Se definitions
2023-09-26 12:53:41 -05:00
Tim Culverhouse
da6dfbbf3d
terminfo: add Setulc string for colored underlines
...
Add terminfo key 'Setulc' to enable colored underlines.
2023-09-25 15:54:03 -05:00
Tim Culverhouse
e70e763e8c
terminfo: add Smulx (underline styles) entry
...
Add a terminfo entry for Smulx, which advertises support for curly,
dashed, dotted, etc underlines
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
2023-09-21 16:47:10 -05:00
Mitchell Hashimoto
f60066a64d
terminfo: add fullkbd for kitty keyboard protocol
2023-08-16 17:31:05 -07:00
Mitchell Hashimoto
60d4024d64
terminal: reset CSI param separator in parser on clear
2023-06-24 15:16:54 -07:00
Mitchell Hashimoto
97df179b04
terminfo: switch to semicolon SGR 48 to prevent render issues
2023-06-24 15:04:33 -07:00
Mitchell Hashimoto
7092078585
terminfo: fix 0 => O
2023-06-24 14:43:11 -07:00
Mitchell Hashimoto
7e51dbb7e5
build: fix race conditions, use actual filesource
2023-06-24 14:24:58 -07:00
Mitchell Hashimoto
3ae2a3e1fa
ghostty encoding test needs more buffer
2023-06-24 11:11:08 -07:00
Mitchell Hashimoto
629fddcf5f
terminfo: more capabilties, I think this is all of them
2023-06-24 11:04:02 -07:00
Mitchell Hashimoto
0f43e79bda
terminfo: a bunch more capabilities
2023-06-24 10:29:19 -07:00
Mitchell Hashimoto
21d922304b
build: build.zig encodes and writes the terminfo source
2023-06-24 09:12:42 -07:00
Mitchell Hashimoto
ea67b4aa48
terminfo: working on Ghostty's terminfo
2023-06-24 08:59:05 -07:00
Mitchell Hashimoto
3ec8ce8063
terminfo: basic Source structure and can encode
2023-06-23 19:22:16 -07:00