From ecfa6cfc636cde4347a78e51749482f0313df668 Mon Sep 17 00:00:00 2001 From: Panagiotis Ktistakis Date: Fri, 13 May 2016 18:51:02 +0300 Subject: [PATCH] Split arguments using qutebrowser.utils.split --- qutebrowser/mainwindow/statusbar/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/mainwindow/statusbar/command.py b/qutebrowser/mainwindow/statusbar/command.py index dee11b68f..edf93a007 100644 --- a/qutebrowser/mainwindow/statusbar/command.py +++ b/qutebrowser/mainwindow/statusbar/command.py @@ -24,7 +24,7 @@ from PyQt5.QtWidgets import QSizePolicy from qutebrowser.keyinput import modeman, modeparsers from qutebrowser.commands import cmdexc, cmdutils, runners -from qutebrowser.misc import cmdhistory +from qutebrowser.misc import cmdhistory, split from qutebrowser.misc import miscwidgets as misc from qutebrowser.utils import usertypes, log, objreg @@ -105,7 +105,7 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit): space: If given, a space is added to the end. append: If given, the text is appended to the current text. """ - args = text.split() + args = split.split(text, keep=True) args = runners.replace_variables(self._win_id, args) text = ' '.join(args)