terminfo: OSC 52 support

This commit is contained in:
Mitchell Hashimoto
2023-09-26 21:56:22 -07:00
parent 0ee0180032
commit ece4ddac81

View File

@ -104,6 +104,9 @@ pub const ghostty: Source = .{
// Cursor style reset
.{ .name = "Se", .value = .{ .string = "\\E[2 q" } },
// OSC 52 Clipboard
.{ .name = "Ms", .value = .{ .string = "\\E]52;%p1%s;%p2%s\\007" } },
// These are all capabilities that should be pretty straightforward
// and map to input sequences.
.{ .name = "bel", .value = .{ .string = "^G" } },