diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-05-08 20:53:09 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-05-09 10:01:06 -0700 |
| commit | 5962696c3b0f42f863b91f6995d2d41e35dcc550 (patch) | |
| tree | ac2e8f67d2b96abe290cfcc68bb0a076f8c9bf40 /src/Surface.zig | |
| parent | 11a623aa17536d3dd48abb223e3e8639a65d0b12 (diff) | |
input: remove `physical_key` from the key event (all keys are physical)
Diffstat (limited to 'src/Surface.zig')
| -rw-r--r-- | src/Surface.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Surface.zig b/src/Surface.zig index e173d2d8b..a71c180ff 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -1870,7 +1870,7 @@ pub fn keyCallback( // Process the cursor state logic. This will update the cursor shape if // needed, depending on the key state. if ((SurfaceMouse{ - .physical_key = event.physical_key, + .physical_key = event.key, .mouse_event = self.io.terminal.flags.mouse_event, .mouse_shape = self.io.terminal.mouse_shape, .mods = self.mouse.mods, |
