enter is CR

This commit is contained in:
Mitchell Hashimoto
2022-05-09 21:40:29 -07:00
parent adac8a3f60
commit 1045c40489

View File

@ -340,7 +340,7 @@ fn keyCallback(
.z => if (mods.control and !mods.shift) 0x1A else return, .z => if (mods.control and !mods.shift) 0x1A else return,
.backspace => 0x08, .backspace => 0x08,
.enter => '\n', .enter => '\r',
.tab => '\t', .tab => '\t',
else => return, else => return,
}; };