Merge pull request #1940 from shekhirin/keycallback-method-doc

docs(surface): remove `keyCallback` return type doc
This commit is contained in:
Mitchell Hashimoto
2024-07-11 14:00:19 -07:00
committed by GitHub

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,