Add delete and insert to ps2d
This commit is contained in:
parent
446452a275
commit
72fe60b6a8
|
@ -60,6 +60,12 @@ pub fn keyboard() {
|
||||||
0x51 => { // Page down
|
0x51 => { // Page down
|
||||||
input.write(b"\x1B[6~").unwrap();
|
input.write(b"\x1B[6~").unwrap();
|
||||||
},
|
},
|
||||||
|
0x52 => { // Insert
|
||||||
|
input.write(b"\x1B[2~").unwrap();
|
||||||
|
},
|
||||||
|
0x53 => { // Delete
|
||||||
|
input.write(b"\x1B[3~").unwrap();
|
||||||
|
},
|
||||||
_ => {
|
_ => {
|
||||||
let c = if ctrl {
|
let c = if ctrl {
|
||||||
match keymap::get_char(scancode, false) {
|
match keymap::get_char(scancode, false) {
|
||||||
|
|
Loading…
Reference in a new issue