From be2b6dfa948f7671ea616c517445b36bef6034d3 Mon Sep 17 00:00:00 2001 From: able Date: Sun, 31 Jul 2022 05:27:27 -0500 Subject: [PATCH] ok seriously fucking wokks ok im sorry sanananana --- ableos/src/vterm.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ableos/src/vterm.rs b/ableos/src/vterm.rs index d955456d..429fefca 100644 --- a/ableos/src/vterm.rs +++ b/ableos/src/vterm.rs @@ -43,12 +43,12 @@ impl Term { match c { '\u{08}' => { if self.x == 0 { - warn!("IMPOSSIBLE BACKSPACE"); - } else { - trace!("BACKSPACE"); - self.x -= 1; - self.term[TERM_MINUS_ONE_LINE + (self.x as usize)] = '\0'; + // trace!("IMPOSSIBLE BACKSPACE"); + return; } + // trace!("BACKSPACE"); + self.x -= 1; + self.term[TERM_MINUS_ONE_LINE + (self.x as usize)] = '\0'; } '\n' => { self.move_up();