mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
docs(surface): keyCallback
return value is self-descriptive
This commit is contained in:
@ -1245,8 +1245,7 @@ pub fn preeditCallback(self: *Surface, preedit_: ?[]const u8) !void {
|
||||
}
|
||||
|
||||
/// Called for any key events. This handles keybindings, encoding and
|
||||
/// sending to the termianl, etc. The return value is true if the key
|
||||
/// was handled and false if it was not.
|
||||
/// sending to the termianl, etc.
|
||||
pub fn keyCallback(
|
||||
self: *Surface,
|
||||
event: input.KeyEvent,
|
||||
|
Reference in New Issue
Block a user