( synchronizedOutputSupported: boolean, )
| 33 | * home row-by-row so recovery does not flash blank first. |
| 34 | */ |
| 35 | export function getAltScreenRecoveryRepaintMode( |
| 36 | synchronizedOutputSupported: boolean, |
| 37 | ): Exclude<AltScreenRepaintMode, 'none'> { |
| 38 | return synchronizedOutputSupported |
| 39 | ? 'erase-before-paint' |
| 40 | : 'repaint-from-home' |
| 41 | } |
no outgoing calls
no test coverage detected