Browse code

Clear suggestions when command is submitted

Joseph Weston authored on 12/12/2021 21:38:33
Showing 1 changed files
... ...
@@ -116,6 +116,7 @@
116 116
      (-> db
117 117
       (update-in [:cmdline :current] (constantly nil))
118 118
       (update-in [:cmdline :selected-history] (constantly nil))
119
+      (update-in [:cmdline :suggestions] (constantly nil))
119 120
       (execute cmdline))
120 121
 
121 122
      ; dispatch-later to ensure that the DOM has already been updated,