mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
terminfo: add a few more missing entries from tmux(1)
This commit is contained in:
@ -57,6 +57,9 @@ pub const ghostty: Source = .{
|
||||
// newline ignored after 80 cols (???)
|
||||
.{ .name = "xenl", .value = .{ .boolean = {} } },
|
||||
|
||||
// Terminal supports default colors
|
||||
.{ .name = "AX", .value = .{ .boolean = {} } },
|
||||
|
||||
// Tmux "truecolor" mode. Other programs also use this to detect
|
||||
// if the terminal supports "truecolor". This means that the terminal
|
||||
// can display 24-bit RGB colors.
|
||||
@ -65,6 +68,9 @@ pub const ghostty: Source = .{
|
||||
// Colored underlines. https://sw.kovidgoyal.net/kitty/underlines/
|
||||
.{ .name = "Su", .value = .{ .boolean = {} } },
|
||||
|
||||
// Terminal supports a number of xterm extensions
|
||||
.{ .name = "XT", .value = .{ .boolean = {} } },
|
||||
|
||||
// Full keyboard support using Kitty's keyboard protocol:
|
||||
// https://sw.kovidgoyal.net/kitty/keyboard-protocol/
|
||||
.{ .name = "fullkbd", .value = .{ .boolean = {} } },
|
||||
@ -107,6 +113,9 @@ pub const ghostty: Source = .{
|
||||
// OSC 52 Clipboard
|
||||
.{ .name = "Ms", .value = .{ .string = "\\E]52;%p1%s;%p2%s\\007" } },
|
||||
|
||||
// Synchronized output
|
||||
.{ .name = "Sync", .value = .{ .string = "\\E[?2026%?%p1%{1}%-%tl%eh" } },
|
||||
|
||||
// These are all capabilities that should be pretty straightforward
|
||||
// and map to input sequences.
|
||||
.{ .name = "bel", .value = .{ .string = "^G" } },
|
||||
|
Reference in New Issue
Block a user