From 0d35fbf4a193607239a9c059f17d6f1db6e3396e Mon Sep 17 00:00:00 2001 From: Lisa Milne Date: Fri, 24 Nov 2023 15:22:01 +1000 Subject: [PATCH] a bit of cleanup --- clite/core.js | 3 --- 1 file changed, 3 deletions(-) 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') {