File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,9 @@ const autoHistoryPosition = () => {
310310
311311// Parses the query, looks for a user given command and appends the resulting
312312// component to the history
313- const dispatch = async query => {
313+ const dispatch = async () => {
314+ const query = local .query
315+
314316 // An empty query is an empty string
315317 if (isEmpty (query)) {
316318 appendToHistory (createQuery ())
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ const showDelayedHelp = () => {
166166// Deactivates this query and dispatches it to execute the command
167167const submit = () => {
168168 isOutdated .value = true
169- dispatch (query . value )
169+ dispatch ()
170170}
171171
172172// Apply given cursor position to actual cursor position
You can’t perform that action at this time.
0 commit comments