##// END OF EJS Templates
Fix empty autosuggestions bugging out the end key...
Fix empty autosuggestions bugging out the end key The `nc.end_of_line(event)` line was never triggered. During writing this, the `Suggestion` class from prompt-toolkit has no `__bool__` implemented, which meant its objects always evaluate to `True`, even if `b.suggestion.text == ''`. The above resulted in the end key being unusable after an autosuggestion has been accepted by the user.

File last commit:

r26208:778dac10
r27614:bc12e6dc
Show More
.flake8
5 lines | 143 B | text/plain | TextLexer
[flake8]
ignore = W293,E301,E271,E265,W291,E722,E302,C901,E225,E128,E122,E226,E231
max-line-length = 160
exclude = tests/*
max-complexity = 10