You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resize console window to have only 8 lines (I'm using the default Terminal on Mac).
The last 8 lines seem good:
Line 14
Line 15
Line 16
Line 17
Line 18
Line 19
Line 20
mycomputer $
But when you scroll up to see all lines, they look like this:
mycomputer $ node index.js
⠦ Line 1
Line 2
⠧ Line 1
Line 2
Line 3
⠇ Line 1
Line 2
Line 3
Line 4
Line 5
⠏ Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
⠋ Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
⠙ Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
⠹ Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
Line 11
✔ Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
Line 11
Line 12
Line 13
Line 14
Line 15
Line 16
Line 17
Line 18
Line 19
Line 20
mycomputer $
The text was updated successfully, but these errors were encountered:
ora spinner works by removing previously rendered lines at every frame.
When the number of lines exceed the console height,
ora cannot remove lines above the console top line.
When users scroll up the console, they will see garbage lines.
Example program:
Resize console window to have only 8 lines (I'm using the default Terminal on Mac).
The last 8 lines seem good:
But when you scroll up to see all lines, they look like this:
The text was updated successfully, but these errors were encountered: