Skip to content
Snippets Groups Projects
Commit 6cb15396 authored by Connor Atherton's avatar Connor Atherton
Browse files

Merge pull request #121 from wwboynton/master

defaulting to zero when calling out-of-bounds indices on @vis_lbreaks
parents 40500f6d 60422c4f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2648,7 +2648,7 @@ module RbReadline
end
 
def vis_pos(line)
@vis_lbreaks[line]
@vis_lbreaks[line] || 0
end
 
def vis_line(line)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment