diff --git a/clite/core.js b/clite/core.js index 3b93a8a..6f0e819 100644 --- a/clite/core.js +++ b/clite/core.js @@ -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') {