get_single_char reads Tab as \t

This commit is contained in:
notoria
2020-04-18 13:33:42 +02:00
parent 5d064b18e6
commit b35b49f7b3

View File

@@ -81,6 +81,10 @@ pub fn get_single_char() -> char {
c = '\n';
break;
},
KeyCode::Tab => {
c = '\t';
break;
},
_ => ()
}
}