Skip to content

Commit 1a78bab

Browse files
authored
Merge pull request #735 from zackproser/codex/update-terminal-prompt-behavior
Fix terminal prompt after command
2 parents a06d99b + a7f08bb commit 1a78bab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/products/products-client.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ export default function ProductsPageClient({ products }: { products: ProductCont
129129

130130
// Command completed, execute it (use currentCommand to track the correct command)
131131
this.text.push(this.currentLine)
132-
132+
this.currentLine = '$ '
133+
this.cursorPos = 2
134+
133135
// Add flash effect data for the newly added line
134136
this.flashEffects = this.flashEffects || []
135137
this.flashEffects.push({

0 commit comments

Comments
 (0)