Commit da71f46
fix(tui): restore cursor on Ctrl+C interrupt during spinner
Fixes bounty issue #1522
The cursor remained hidden if the user interrupted the application with
Ctrl+C while a spinner was active. This was because the terminal
state wasn't fully restored in the Ctrl+C handler path.
This change explicitly calls terminal.show_cursor() when handling the
Ctrl+C interrupt signal in the event loop, ensuring the terminal
is left in a usable state.1 parent 36e0307 commit da71f46
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
1345 | 1349 | | |
1346 | 1350 | | |
1347 | 1351 | | |
| |||
0 commit comments