mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
termio: reset mouse shape on terminal reset
Reset the mouse shape to `.default` when a full reset is done on the terminal. Prevents the terminal from appearing to be in a persistent hang
This commit is contained in:
@ -1680,6 +1680,7 @@ const StreamHandler = struct {
|
||||
self: *StreamHandler,
|
||||
) !void {
|
||||
self.terminal.fullReset(self.alloc);
|
||||
try self.setMouseShape(.default);
|
||||
}
|
||||
|
||||
pub fn queryKittyKeyboard(self: *StreamHandler) !void {
|
||||
|
Reference in New Issue
Block a user