make center keypress a unique key so we handle it separately

This commit is contained in:
bunnie 2025-11-27 16:51:15 +08:00
parent 1f9ab022f2
commit fbb04d96ab

View file

@ -121,7 +121,7 @@ fn map_keypress(kp: KeyPress) -> char {
KeyPress::Left => '←',
KeyPress::Right => '→',
KeyPress::Select => '∴',
KeyPress::Center => '\r',
KeyPress::Center => '🔥',
_ => '\u{0000}',
}
}