summaryrefslogtreecommitdiff
path: root/packages/cli/src
diff options
context:
space:
mode:
authorSeth Troisi <[email protected]>2025-05-15 01:19:15 +0000
committerSeth Troisi <[email protected]>2025-05-15 10:21:01 +0000
commit39d57ead1a042cb241a3d25e5006680902daa67a (patch)
treebff8a2c40875e91f70b55ca70ab2115640f673be /packages/cli/src
parent5c6e60102646c14de0105cce04bb4c8106c7a154 (diff)
Have /clear also clear the console.
Diffstat (limited to 'packages/cli/src')
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
index 7ce3ae86..efe6d855 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
@@ -71,6 +71,7 @@ export const useSlashCommandProcessor = (
action: (_value: PartListUnion | string) => {
onDebugMessage('Clearing terminal.');
clearItems();
+ console.clear();
refreshStatic();
},
},