We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e298d commit 7998d7bCopy full SHA for 7998d7b
cli/src/state/hooks/useTerminal.ts
@@ -20,9 +20,7 @@ export function useTerminal(): void {
20
21
// Clear terminal when reset counter changes
22
useEffect(() => {
23
- if (refreshTerminalCounter !== 0) {
24
- clearTerminal()
25
- }
+ clearTerminal()
26
}, [refreshTerminalCounter, clearTerminal])
27
28
// Resize effect
cli/src/ui/utils/welcomeMessage.ts
@@ -49,7 +49,7 @@ export function createWelcomeMessage(options?: WelcomeMessageOptions): CliMessag
49
id,
50
type: "welcome",
51
content: "", // Content is rendered by WelcomeMessageContent component
52
- ts: timestamp,
+ ts: 0, // Welcome message should show at the top
53
metadata: {
54
welcomeOptions: options,
55
},
0 commit comments