Return -> Enter
parent
9f8ac92464
commit
720154c39a
|
@ -67,7 +67,7 @@ export function CommandPalette({
|
||||||
completer={completer}
|
completer={completer}
|
||||||
vimMode={vimMode}
|
vimMode={vimMode}
|
||||||
darkMode={darkMode}
|
darkMode={darkMode}
|
||||||
helpText="Start typing the command name to filter results, press <code>Return</code> to run."
|
helpText="Start typing the command name to filter results, press <code>Enter</code> to run."
|
||||||
onSelect={(opt) => {
|
onSelect={(opt) => {
|
||||||
if (opt) {
|
if (opt) {
|
||||||
onTrigger(commands.get(opt.name));
|
onTrigger(commands.get(opt.name));
|
||||||
|
|
Loading…
Reference in New Issue