File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 40
40
</div >
41
41
</template >
42
42
43
- <script setup lang="js" >
43
+ <script setup>
44
44
import {
45
45
ref ,
46
46
defineExpose ,
@@ -104,6 +104,7 @@ const props = defineProps({
104
104
},
105
105
106
106
helpText: {
107
+ default: null ,
107
108
required: false ,
108
109
type: String
109
110
},
Original file line number Diff line number Diff line change 23
23
@keydown.ctrl.r.exact.prevent =" reverseISearch"
24
24
@keyup.arrow-left.exact =" setCursorPosition($refs.queryRef.selectionStart)"
25
25
@keyup.arrow-right.exact =" setCursorPosition($refs.queryRef.selectionStart)"
26
- @keyup.enter.exact =" submit" / >
26
+ @keyup.enter.exact =" submit" >
27
27
</div >
28
28
</template >
29
29
30
- <script setup lang="js" >
30
+ <script setup>
31
31
import {
32
32
ref ,
33
33
onMounted ,
@@ -138,6 +138,8 @@ const autocompleteQuery = async () => {
138
138
appendToHistory (createStdout (listFormatter (... commands)))
139
139
140
140
// We have to wait for the query to be loaded
141
+ // TODO Maybe listen to some event, indicating that the query has been
142
+ // mounted
141
143
await nextTick ()
142
144
143
145
// Overwrite new query with old one
You can’t perform that action at this time.
0 commit comments