Christian Muehlhaeuser
76ce669474
chore: make CatchPanics an option flag
2022-10-07 22:33:06 +02:00
Christian Muehlhaeuser
0ac6702e11
feat: make signal handler optional
...
You can now initialize a tea app without a signal handler:
p := NewProgram(model, WithoutSignalHandler())
2022-10-07 21:46:06 +02:00
Christian Muehlhaeuser
6c449e55bf
feat: use Termenv.Output to write to tty
2022-09-27 02:49:36 +02:00
Christian Muehlhaeuser
1e1b5f716d
chore: gofmt sources
2022-08-15 12:25:55 +02:00
Christian Rocha
119144e78c
ANSI compression is now opt-in via the WithANSICompressor program option
2021-10-30 13:04:27 -04:00
Christian Rocha
9f9b3aea96
Read input regardless of whether or not it's a TTY
...
This commit also contains some refactors:
* Refactor away inputStatus type
* Refactor away program.inputIsTTY member
* Simplify how we setup and restore input when it's a TTY
2021-08-02 10:50:04 -04:00
Christian Rocha
9826251f08
Add WithInputTTY ProgramOption
2021-08-02 10:50:04 -04:00
Christian Rocha
e87344b791
Move ProgramOptions into a separate file
2021-08-02 10:50:04 -04:00