Christian Muehlhaeuser
0f1ce7f2d9
fix: maintain cursor visibility across altscreen state switch
...
Based on #462 and #452 by @londek, but fixes maintaining the
current visibility state across altscreen state changes.
This makes the behavior consistent across terminals, some of which
keep separate state for altscreen and regular buffer.
Fixes #190 .
2022-10-23 03:25:11 +02:00
Christian Muehlhaeuser
fd18c149df
fix: restoreTerminalState resets mouse handling state
...
- fixes mouse handling being enabled during sub commands
- fixes shutdown order: restore mouse state before alt screen
2022-10-12 00:36:09 +02:00
Christian Muehlhaeuser
8e79fdd50b
test: add screen manipulation tests
2022-10-09 04:14:09 +02:00
Christian Muehlhaeuser
6c449e55bf
feat: use Termenv.Output to write to tty
2022-09-27 02:49:36 +02:00
Christian Rocha
1a0beff868
chore: use go 1.16 ( #449 )
...
* chore: use go 1.16 and gofmt accordingly
* chore: also update examples and tuts to go 1.16
2022-09-14 19:08:36 -04:00
Carlos A Becker
cb0a72d682
test: nil renderer, options and screen
2021-11-15 10:28:46 -05:00