mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-27 19:26:09 +00:00
parent
9dd82117f4
commit
8a6a49fbc3
@ -85,6 +85,7 @@ impl backend::Backend for Concrete {
|
|||||||
// of Ctrl/Alt/Shift in these :v
|
// of Ctrl/Alt/Shift in these :v
|
||||||
if let Some(ev) = self.window.getch() {
|
if let Some(ev) = self.window.getch() {
|
||||||
match ev {
|
match ev {
|
||||||
|
pancurses::Input::Character('\n') => Event::Key(Key::Enter),
|
||||||
pancurses::Input::Character(c) => Event::Char(c),
|
pancurses::Input::Character(c) => Event::Char(c),
|
||||||
pancurses::Input::Unknown(i) => Event::Unknown(i),
|
pancurses::Input::Unknown(i) => Event::Unknown(i),
|
||||||
// TODO: I honestly have no fucking idea what KeyCodeYes is
|
// TODO: I honestly have no fucking idea what KeyCodeYes is
|
||||||
|
Loading…
Reference in New Issue
Block a user