docs(surface): keyCallback return value is self-descriptive

This commit is contained in:
Alexey Shekhirin
2024-07-11 20:24:09 +01:00
parent b1677b8900
commit 447c324c4d

View File

@ -1245,8 +1245,7 @@ pub fn preeditCallback(self: *Surface, preedit_: ?[]const u8) !void {
} }
/// Called for any key events. This handles keybindings, encoding and /// Called for any key events. This handles keybindings, encoding and
/// sending to the termianl, etc. The return value is true if the key /// sending to the termianl, etc.
/// was handled and false if it was not.
pub fn keyCallback( pub fn keyCallback(
self: *Surface, self: *Surface,
event: input.KeyEvent, event: input.KeyEvent,