mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-06 01:46:33 +00:00
Shift Out/Shift In (invoke charset into GL)
This commit is contained in:
@@ -1552,7 +1552,8 @@ pub fn deviceAttributes(
|
||||
_ = params;
|
||||
|
||||
switch (req) {
|
||||
.primary => self.queueWrite("\x1B[?6c") catch |err|
|
||||
// VT220
|
||||
.primary => self.queueWrite("\x1B[?62;c") catch |err|
|
||||
log.warn("error queueing device attr response: {}", .{err}),
|
||||
else => log.warn("unimplemented device attributes req: {}", .{req}),
|
||||
}
|
||||
@@ -1640,3 +1641,12 @@ pub fn configureCharset(
|
||||
) !void {
|
||||
self.terminal.configureCharset(slot, set);
|
||||
}
|
||||
|
||||
pub fn invokeCharset(
|
||||
self: *Window,
|
||||
active: terminal.CharsetActiveSlot,
|
||||
slot: terminal.CharsetSlot,
|
||||
single: bool,
|
||||
) !void {
|
||||
self.terminal.invokeCharset(active, slot, single);
|
||||
}
|
||||
|
Reference in New Issue
Block a user