Skip to content

Commit 8c6b959

Browse files
committed
Update help banner to explain credits. Move /help first. Double help timeout
1 parent 290da2d commit 8c6b959

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cli/src/components/help-banner.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react'
33
import { BottomBanner } from './bottom-banner'
44
import { useChatStore } from '../state/chat-store'
55

6-
const HELP_TIMEOUT = 30 * 1000 // 30 seconds
6+
const HELP_TIMEOUT = 60 * 1000 // 60 seconds
77

88
/** Help banner showing keyboard shortcuts and tips. */
99
export const HelpBanner = () => {
@@ -20,7 +20,9 @@ export const HelpBanner = () => {
2020
return (
2121
<BottomBanner
2222
borderColorKey="info"
23-
text="Shortcuts: /commands • Ctrl+C stop • Ctrl+J or Option+Enter newline • @files/agents • ↑↓ history • !bash"
23+
text={`Shortcuts: /commands • Ctrl+C stop • Ctrl+J or Option+Enter newline • @files/agents • ↑↓ history • !bash commands
24+
25+
1 credit = 1 cent. Buy more with /buy-credits. Earn more from ads. Connect your Claude Subscription to pay for Claude models (Default and Max modes).`}
2426
onClose={() => setInputMode('default')}
2527
/>
2628
)

0 commit comments

Comments
 (0)