We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a4bd00 commit 34b4949Copy full SHA for 34b4949
src/cdp/domains/input.zig
@@ -35,9 +35,9 @@ pub fn processMessage(cmd: anytype) !void {
35
fn dispatchKeyEvent(cmd: anytype) !void {
36
const params = (try cmd.params(struct {
37
type: Type,
38
- key: []const u8,
39
- code: []const u8,
40
- modifiers: u4,
+ key: []const u8 = "",
+ code: []const u8 = "",
+ modifiers: u4 = 0,
41
// Many optional parameters are not implemented yet, see documentation url.
42
43
const Type = enum {
0 commit comments