()
| 26 | var disableAnsi bool |
| 27 | |
| 28 | func saveCursor() { |
| 29 | if disableAnsi { |
| 30 | return |
| 31 | } |
| 32 | // see https://github.com/morikuni/aec/pull/5 |
| 33 | fmt.Print(aec.Save) |
| 34 | } |
| 35 | |
| 36 | func restoreCursor() { |
| 37 | if disableAnsi { |
no outgoing calls
no test coverage detected