Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

One possible solution to issue/bug https://github.com/JEG2/highline/issues/17 #18

Merged
merged 1 commit into from

2 participants

Aaron Gifford James Edward Gray II
Aaron Gifford

...es/17

Aaron Gifford

See the history of issue 17 #17 and the comments there for details about this issue/bug.

James Edward Gray II JEG2 merged commit d060334 into from
Aaron Gifford

Ooops, the argument to HighLine.Style() should have been :erase_line instead of 'erase_line' -- I'll submit a new pull request to fix my mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 12, 2011
  1. One possible solution to issue/bug JEG2/highline#17

    Aaron D. Gifford authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/highline.rb
4 lib/highline.rb
View
@@ -820,7 +820,7 @@ def get_response( )
restore_mode if stty
end
if @question.overwrite
- @output.print("\r#{ERASE_LINE}")
+ @output.print("\r#{HighLine.Style('erase_line').code}")
@output.flush
else
say("\n")
@@ -833,7 +833,7 @@ def get_response( )
else
response = get_character(@input).chr
if @question.overwrite
- @output.print("\r#{ERASE_LINE}")
+ @output.print("\r#{HighLine.Style('erase_line').code}")
@output.flush
else
echo = if @question.echo == true
Something went wrong with that request. Please try again.