qutebrowser/qutebrowser
Ryan Roden-Corrent c290b3f80f Don't attempt completion if input starts with flag.
Always interpret the first word in the command string as the command to
offer completions for, even if that word looks like a flag.

Fixes #3460, where the command string `:-w open` would attempt to offer
completions for `open` but crash because the parsing was thrown off.
By moving the flag-stripping logic to _after_ we determine the command,
`:-w open` interprets `:-w` as the command. Since that is not a valid
command, we won't offer any completions.
2018-01-04 12:34:06 -05:00
..
browser and add back needed connection 2017-12-22 12:47:38 -06:00
commands Fix some inconsistent returns 2017-12-15 16:33:47 +01:00
completion Don't attempt completion if input starts with flag. 2018-01-04 12:34:06 -05:00
config Merge remote-tracking branch 'origin/pr/3407' 2017-12-18 16:11:16 +01:00
html Make qute://log lines darker 2017-12-12 22:52:35 +01:00
img New qutebrowser logo! 2016-04-14 17:44:38 +02:00
javascript Explain eslint philosophy 2017-12-15 23:26:18 +01:00
keyinput Use a dict for ModeManager.eventFilter 2017-12-29 20:36:55 +01:00
mainwindow Disable wrong inconsistent-return-statements 2017-12-15 16:33:47 +01:00
misc pylint: Re-enable ungrouped-imports 2017-12-15 23:08:53 +01:00
utils pylint: Re-enable ungrouped-imports 2017-12-15 23:08:53 +01:00
__init__.py Release v1.0.4 2017-11-28 10:56:15 +01:00
__main__.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
app.py Remove filtering of mouse events 2017-12-29 19:36:52 +01:00
qutebrowser.py pylint: Re-enable bad-continuation 2017-12-15 19:16:55 +01:00
resources.py Regenerate resources 2016-04-14 17:59:28 +02:00