highline 1.6.7 → 1.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +4 -0
- data/lib/highline.rb +2 -2
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/highline.rb
CHANGED
@@ -30,7 +30,7 @@ require "highline/style"
|
|
30
30
|
#
|
31
31
|
class HighLine
|
32
32
|
# The version of the installed library.
|
33
|
-
VERSION = "1.6.
|
33
|
+
VERSION = "1.6.8".freeze
|
34
34
|
|
35
35
|
# An internal HighLine error. User code does not need to trap this.
|
36
36
|
class QuestionError < StandardError
|
@@ -802,7 +802,7 @@ class HighLine
|
|
802
802
|
# only backspace if we have characters on the line to
|
803
803
|
# eliminate, otherwise we'll tromp over the prompt
|
804
804
|
if backspace_limit >= 0 then
|
805
|
-
@output.print("\b#{
|
805
|
+
@output.print("\b#{HighLine.Style(:erase_char).code}")
|
806
806
|
else
|
807
807
|
# do nothing
|
808
808
|
end
|