Skip to content

Commit

Permalink
fix JuliaLang#6366 (REPL crash in reverse-i-search)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolta committed Apr 2, 2014
1 parent beb4398 commit 69c40e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/LineEdit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ function reset_state(s::SearchState)
end
if s.respose_buffer.size != 0
s.respose_buffer.size = 0
s.query_buffer.ptr = 1
s.respose_buffer.ptr = 1
end
reset_state(s.histprompt.hp)
end
Expand Down

0 comments on commit 69c40e0

Please sign in to comment.