Skip to content

Commit 1179920

Browse files
committed
feat: Add acode:showWelcome command to display the welcome screen.
1 parent 7cbc033 commit 1179920

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/cm/commandRegistry.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,16 @@ function registerCoreCommands() {
552552
return true;
553553
},
554554
});
555+
addCommand({
556+
name: "acode:showWelcome",
557+
description: "Show Welcome",
558+
readOnly: true,
559+
requiresView: false,
560+
run() {
561+
acode.exec("welcome");
562+
return true;
563+
},
564+
});
555565

556566
// Additional editor-centric helpers mapped to CodeMirror primitives that have existing key bindings in defaults.
557567
addCommand({

0 commit comments

Comments
 (0)