summaryrefslogtreecommitdiff
path: root/tui.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tui.rb')
-rw-r--r--tui.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/tui.rb b/tui.rb
index edc34d0..8fa0a53 100644
--- a/tui.rb
+++ b/tui.rb
@@ -9,6 +9,10 @@ module TUI
print "\e[0;0H"
end
+ def self.reset_line()
+ print "\e[2K"
+ end
+
def self.restore()
print "\e[?1049l"
end