qutebrowser/qutebrowser
Martin Tournoij 7f13c9a3c3
Relax commandline parsing a bit
Problem 1: Entering a command of `:::save` gives an error.
Problem 2: Entering a command of `:save\n` gives an error.

Both scenarios may seem a bit silly at first, but I encountered both by
copy/pasting a command:

1. Enter `:` in qutebrowser.
2. Copy a full line from a terminal starting with `:`.
3. You will now have both of the above problems.

Solution: Trim all whitespace and `:` of a command. This is also what
Vim does, by the way.
2017-03-31 17:14:11 +01:00
..
browser Fallback to clipboard when primary selection is unsupported 2017-03-31 13:05:34 +02:00
commands Relax commandline parsing a bit 2017-03-31 17:14:11 +01:00
completion Set COLUM_WIDTHS for :help completion 2017-02-08 09:11:58 +01:00
config Make keyhint delay configurable. 2017-03-22 21:50:26 -04:00
html Make session interval configurable. 2017-03-16 12:11:16 +05:00
img New qutebrowser logo! 2016-04-14 17:44:38 +02:00
javascript Merge commit '724e6b29c38a55f722f17997379f1ebe190fa6db' 2017-03-20 09:11:47 +01:00
keyinput Add automatic backend selection in earlyinit 2017-02-05 17:09:04 +01:00
mainwindow Fallback to clipboard when primary selection is unsupported 2017-03-31 13:05:34 +02:00
misc Fallback to clipboard when primary selection is unsupported 2017-03-31 13:05:34 +02:00
utils Fallback to clipboard when primary selection is unsupported 2017-03-31 13:05:34 +02:00
__init__.py Release v0.10.1 2017-03-08 06:26:22 +01:00
__main__.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
app.py Fix crash when window_ids change during init 2017-03-27 08:00:19 +02:00
qutebrowser.py Add automatic backend selection in earlyinit 2017-02-05 17:09:04 +01:00
resources.py Regenerate resources 2016-04-14 17:59:28 +02:00