This pull request improves the current driver implementation.
Rustty now relies on a terminfo database to control the underlying terminal, resulting in far more portability than hard-coding specific escape sequences for arbitrary terminals.
The terminfo database is statically allocated with lazy_static!{} and verified to contain all required functionality on calling Driver::new(). More specific details can be found in the commit messages and comments in the driver module itself.
This pull request improves the current driver implementation.
Rustty now relies on a terminfo database to control the underlying terminal, resulting in far more portability than hard-coding specific escape sequences for arbitrary terminals.
The terminfo database is statically allocated with
lazy_static!{}
and verified to contain all required functionality on callingDriver::new()
. More specific details can be found in the commit messages and comments in the driver module itself.