shell tab

This commit is contained in:
Jan Prochazka
2021-03-11 14:37:40 +01:00
parent 913f89e970
commit cedb740fb0
7 changed files with 232 additions and 52 deletions

View File

@@ -119,7 +119,7 @@ export function registerFileCommands({
toolbar: true,
enabledStore: derived(
[editorStore, editorStatusStore],
([query, status]) => query != null && status && (status as any).isConnected
([query, status]) => query != null && status && (status as any).canKill
),
onClick: () => (get(editorStore) as any).kill(),
});