Skip to content

Commit

Permalink
Update rb-readline to 4610e69.
Browse files Browse the repository at this point in the history
See git://github.com/luislavena/rb-readline.git.
  • Loading branch information
Brian Ford committed Feb 21, 2011
1 parent 6cc1aff commit 935bba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rb-readline/rbreadline.rb
Expand Up @@ -774,7 +774,7 @@ module RbReadline
@rl_num_chars_to_read = 0

# Line buffer and maintenence.
@rl_line_buffer = nil
@rl_line_buffer = ""

# Key sequence `contexts'
@_rl_kscxt = nil
Expand Down Expand Up @@ -4845,7 +4845,7 @@ def rl_delete_text(from, to)
text = nil
end
@rl_end -= diff
@rl_line_buffer[@rl_end] = 0.chr
@rl_line_buffer[@rl_end,1] = 0.chr
return (diff)
end

Expand Down

0 comments on commit 935bba0

Please sign in to comment.