summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-09-02 16:08:34 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-09-02 16:08:34 +0200
commitf5b0433c59d772ba8cf6470a38c60279491e53c0 (patch)
tree61ea0bfdb29482791acf4eae1424b84e3cea2238 /lib
parentd4962467061bd47576481dbc074514c9eef92d59 (diff)
downloadcolonial-twilight-f5b0433c59d772ba8cf6470a38c60279491e53c0.zip
colonial-twilight-f5b0433c59d772ba8cf6470a38c60279491e53c0.tar.gz
CLI : fix Erase in Line
Diffstat (limited to 'lib')
-rw-r--r--lib/colonial_twilight/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/colonial_twilight/cli.rb b/lib/colonial_twilight/cli.rb
index 032e7d4..f0ca895 100644
--- a/lib/colonial_twilight/cli.rb
+++ b/lib/colonial_twilight/cli.rb
@@ -134,7 +134,7 @@ module ColonialTwilight
end
print "\u21b5 " # carriage return
gets
- print "\033[1A\033\k\u2713\n\n" # up, erase line, check
+ print "\033[1A\033[K\u2713\n\n" # up, erase line, check
end
# def show_control selected, control