summaryrefslogtreecommitdiff
path: root/src/Surface.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-05-08 20:53:09 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-05-09 10:01:06 -0700
commit5962696c3b0f42f863b91f6995d2d41e35dcc550 (patch)
treeac2e8f67d2b96abe290cfcc68bb0a076f8c9bf40 /src/Surface.zig
parent11a623aa17536d3dd48abb223e3e8639a65d0b12 (diff)
input: remove `physical_key` from the key event (all keys are physical)
Diffstat (limited to 'src/Surface.zig')
-rw-r--r--src/Surface.zig2
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,