From 1045c404894f204aaa150ca7a6f80a5dedf64318 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 9 May 2022 21:40:29 -0700 Subject: [PATCH] enter is CR --- src/Window.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Window.zig b/src/Window.zig index 391c5af18..37e793834 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -340,7 +340,7 @@ fn keyCallback( .z => if (mods.control and !mods.shift) 0x1A else return, .backspace => 0x08, - .enter => '\n', + .enter => '\r', .tab => '\t', else => return, };