mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: only one spinner
This commit is contained in:
parent
fd1e536939
commit
0a5823ad8e
2 changed files with 3 additions and 2 deletions
|
|
@ -195,8 +195,8 @@ function App() {
|
|||
})
|
||||
|
||||
// Update terminal window title based on current route and session
|
||||
// Braille spinner animation frames for when agent is running (two characters, fluid animation)
|
||||
const spinnerFrames = ["⠋⠙", "⠙⠹", "⠹⠸", "⠸⠼", "⠼⠴", "⠴⠦", "⠦⠧", "⠧⠇", "⠇⠏", "⠏⠋"]
|
||||
// Braille spinner animation frames for when agent is running (space + single character for consistent width with "OC")
|
||||
const spinnerFrames = [" ⠋", " ⠙", " ⠹", " ⠸", " ⠼", " ⠴", " ⠦", " ⠧", " ⠇", " ⠏"]
|
||||
let spinnerInterval: ReturnType<typeof setInterval> | undefined
|
||||
let spinnerIndex = 0
|
||||
let currentTitle = ""
|
||||
|
|
|
|||
1
packages/opencode/test-permission.txt
Normal file
1
packages/opencode/test-permission.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
This is a test file to trigger a permission request.
|
||||
Loading…
Add table
Add a link
Reference in a new issue