diff --git a/src/launcher.tsx b/src/launcher.tsx
index 0d90558..e432768 100644
--- a/src/launcher.tsx
+++ b/src/launcher.tsx
@@ -118,6 +118,7 @@ function LauncherBody(props: {
cwd: string;
typeItems: IItem[];
notebookItems: IKernelItem[];
+ consoleItems: IKernelItem[];
commands: CommandRegistry;
settings: ISettingRegistry.ISettings;
}): React.ReactElement {
@@ -157,7 +158,7 @@ function LauncherBody(props: {
{typeItems
@@ -172,7 +173,7 @@ function LauncherBody(props: {
item.execute()}
/>
+
+ item.execute()}
+ />
+
);
}
@@ -589,6 +605,11 @@ export class NewLauncher extends Launcher {
.filter(item => item.category && item.category === notebookCategory)
.map(this.renderKernelCommand);
+ const consoleItems = items
+ .filter(item => item.category && item.category === consoleCategory)
+ .map(this.renderKernelCommand);
+
+
// TODO: only create items once or if changed; dispose of them too
const typeItems: IItem[] = typeCommands.map(this.renderCommand);
@@ -599,6 +620,7 @@ export class NewLauncher extends Launcher {
commands={this.commands}
typeItems={typeItems}
notebookItems={notebookItems}
+ consoleItems={consoleItems}
settings={this._settings}
/>
);