Commit 5d2274e
committed
Fix 'Enter choice' prompt disappearing on Alpine (#48)
The input drain added in #38 used read -s (silent mode) which disables
terminal echo. On Alpine/busybox bash, echo mode may not be restored
after a read timeout, causing subsequent prompts to be invisible.
Drop the -s flag — silent mode is unnecessary for draining stale input.1 parent 6198204 commit 5d2274e
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
4546 | 4546 | | |
4547 | 4547 | | |
4548 | 4548 | | |
4549 | | - | |
| 4549 | + | |
4550 | 4550 | | |
4551 | 4551 | | |
4552 | 4552 | | |
| |||
0 commit comments