mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
f CSI alias for set cursor pos
This commit is contained in:
@ -281,6 +281,16 @@ pub fn Stream(comptime Handler: type) type {
|
||||
},
|
||||
) else log.warn("unimplemented CSI callback: {}", .{action}),
|
||||
|
||||
// Alias for set cursor position (H)
|
||||
'f' => {
|
||||
var alias = action;
|
||||
alias.final = 'H';
|
||||
|
||||
// Try would be better here but recursive try on
|
||||
// inferred error sets are not allowed.
|
||||
return self.csiDispatch(alias);
|
||||
},
|
||||
|
||||
// SM - Set Mode
|
||||
'h' => if (@hasDecl(T, "setMode")) {
|
||||
for (action.params) |mode|
|
||||
|
Reference in New Issue
Block a user