mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
terminfo: xtgettcap map name should use the source name
This commit is contained in:
@ -77,7 +77,7 @@ pub fn xtgettcapMap(comptime self: Source) type {
|
|||||||
var kvs: [len]KV = .{.{ "", "" }} ** len;
|
var kvs: [len]KV = .{.{ "", "" }} ** len;
|
||||||
|
|
||||||
// We first build all of our entries with raw K=V pairs.
|
// We first build all of our entries with raw K=V pairs.
|
||||||
kvs[0] = .{ "TN", "ghostty" };
|
kvs[0] = .{ "TN", self.names[0] };
|
||||||
kvs[1] = .{ "Co", "256" };
|
kvs[1] = .{ "Co", "256" };
|
||||||
kvs[2] = .{ "RGB", "8" };
|
kvs[2] = .{ "RGB", "8" };
|
||||||
for (self.capabilities, 3..) |cap, i| {
|
for (self.capabilities, 3..) |cap, i| {
|
||||||
|
Reference in New Issue
Block a user