Skip to content

Commit 29b10f6

Browse files
committed
Initialize a variable just in case
1 parent 0b7991b commit 29b10f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/reline/line_editor.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ def rerender
377377
end
378378
new_highest_in_this = calculate_height_by_width(prompt_width + calculate_width(@line.nil? ? '' : @line))
379379
# FIXME: end of logical line sometimes breaks
380+
rendered = false
380381
if @add_newline_to_end_of_buffer
381382
rerender_added_newline
382383
@add_newline_to_end_of_buffer = false

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy