mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 17:27:39 +02:00
kitten @ cmd: Dont generate key release events
We dont need them and they sometimes can spill over into the prompt if the command is very fast.
This commit is contained in:
@@ -124,6 +124,15 @@ func NoAlternateScreen(self *Loop) {
|
||||
self.terminal_options.alternate_screen = false
|
||||
}
|
||||
|
||||
func (self *Loop) OnlyDisambiguateKeys() *Loop {
|
||||
self.terminal_options.kitty_keyboard_mode = 0b1
|
||||
return self
|
||||
}
|
||||
|
||||
func OnlyDisambiguateKeys(self *Loop) {
|
||||
self.terminal_options.kitty_keyboard_mode = 0b1
|
||||
}
|
||||
|
||||
func (self *Loop) MouseTrackingMode(mt MouseTracking) *Loop {
|
||||
self.terminal_options.mouse_tracking = mt
|
||||
return self
|
||||
|
||||
Reference in New Issue
Block a user