Skip to content

Commit 7aeec76

Browse files
Update LineEdit internal for hints (#4146)
1 parent 6091533 commit 7aeec76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/REPLExt/REPLExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function create_mode(repl::REPL.AbstractREPL, main::LineEdit.Prompt)
154154
end
155155
else
156156
LineEdit.edit_insert(s, ';')
157-
LineEdit.check_for_hint(s) && LineEdit.refresh_line(s)
157+
LineEdit.check_show_hint(s)
158158
end
159159
end
160160
end
@@ -181,7 +181,7 @@ function repl_init(repl::REPL.LineEditREPL)
181181
end
182182
else
183183
LineEdit.edit_insert(s, ']')
184-
LineEdit.check_for_hint(s) && LineEdit.refresh_line(s)
184+
LineEdit.check_show_hint(s)
185185
end
186186
end
187187
)

0 commit comments

Comments
 (0)