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 (???)
|
// newline ignored after 80 cols (???)
|
||||||
.{ .name = "xenl", .value = .{ .boolean = {} } },
|
.{ .name = "xenl", .value = .{ .boolean = {} } },
|
||||||
|
|
||||||
|
// Terminal supports default colors
|
||||||
|
.{ .name = "AX", .value = .{ .boolean = {} } },
|
||||||
|
|
||||||
// Tmux "truecolor" mode. Other programs also use this to detect
|
// Tmux "truecolor" mode. Other programs also use this to detect
|
||||||
// if the terminal supports "truecolor". This means that the terminal
|
// if the terminal supports "truecolor". This means that the terminal
|
||||||
// can display 24-bit RGB colors.
|
// can display 24-bit RGB colors.
|
||||||
@ -65,6 +68,9 @@ pub const ghostty: Source = .{
|
|||||||
// Colored underlines. https://sw.kovidgoyal.net/kitty/underlines/
|
// Colored underlines. https://sw.kovidgoyal.net/kitty/underlines/
|
||||||
.{ .name = "Su", .value = .{ .boolean = {} } },
|
.{ .name = "Su", .value = .{ .boolean = {} } },
|
||||||
|
|
||||||
|
// Terminal supports a number of xterm extensions
|
||||||
|
.{ .name = "XT", .value = .{ .boolean = {} } },
|
||||||
|
|
||||||
// Full keyboard support using Kitty's keyboard protocol:
|
// Full keyboard support using Kitty's keyboard protocol:
|
||||||
// https://sw.kovidgoyal.net/kitty/keyboard-protocol/
|
// https://sw.kovidgoyal.net/kitty/keyboard-protocol/
|
||||||
.{ .name = "fullkbd", .value = .{ .boolean = {} } },
|
.{ .name = "fullkbd", .value = .{ .boolean = {} } },
|
||||||
@ -107,6 +113,9 @@ pub const ghostty: Source = .{
|
|||||||
// OSC 52 Clipboard
|
// OSC 52 Clipboard
|
||||||
.{ .name = "Ms", .value = .{ .string = "\\E]52;%p1%s;%p2%s\\007" } },
|
.{ .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
|
// These are all capabilities that should be pretty straightforward
|
||||||
// and map to input sequences.
|
// and map to input sequences.
|
||||||
.{ .name = "bel", .value = .{ .string = "^G" } },
|
.{ .name = "bel", .value = .{ .string = "^G" } },
|
||||||
|
Reference in New Issue
Block a user