summaryrefslogtreecommitdiff
-rwxr-xr-xlib/reinteract/shell_view.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reinteract/shell_view.py b/lib/reinteract/shell_view.py
index 8540206..a4c42fd 100755
--- a/lib/reinteract/shell_view.py
+++ b/lib/reinteract/shell_view.py
@@ -1059,6 +1059,8 @@ class ShellView(gtk.TextView):
end_line = None
self.__hide_completion()
+ if self.__arg_highlight_start:
+ self.__remove_arg_highlight(cursor_to_end=False)
self.__doc_popup.popdown()
buf.worksheet.calculate(end_line=end_line)