More logging
This commit is contained in:
parent
f82fa297b0
commit
f2c60c01ae
@ -301,6 +301,8 @@ class CompletionView(QTreeView):
|
||||
logger.debug("Ignoring completion update")
|
||||
return
|
||||
|
||||
logger.debug("Updating completion, parts: {}, cursor_part {}".format(parts, cursor_part))
|
||||
|
||||
if prefix != ':':
|
||||
# This is a search or gibberish, so we don't need to complete
|
||||
# anything (yet)
|
||||
|
@ -121,6 +121,7 @@ class Command(MinimalLineEdit):
|
||||
logger.debug("Cursor between spaces")
|
||||
spaces = True
|
||||
else:
|
||||
logger.debug("Cursor not between spaces")
|
||||
spaces = False
|
||||
self._empty_item_idx = None
|
||||
cursor_pos -= len(self.prefix)
|
||||
|
Loading…
Reference in New Issue
Block a user