a bit of cleanup

This commit is contained in:
Lisa Milne 2023-11-24 15:22:01 +10:00
parent 843a644646
commit 0d35fbf4a1

View file

@ -1332,7 +1332,6 @@ clite.term = {
// TODO: shouldn't need the 0.8 thing, but urgh
tty.chars = parseInt((tty.data.el.offsetWidth/s.offsetWidth)*0.8);
tty.data.el.removeChild(s);
// TODO:
clite.term.events.refocus();
return tty;
},
@ -1360,8 +1359,6 @@ clite.shell = {
clite.term.events.refocus();
return false;
}
// urgh, no. handle press in keyup because fuck js
//return clite.term.tty.data.data.onkeypress(e);
},
keyup:function(e) {
if (e.key.length > 1 && e.key != 'Spacebar') {