Hide cursor while running application
This commit is contained in:
@ -16,6 +16,10 @@ import lunch.launch;;
|
||||
|
||||
void _app(string config_toml)
|
||||
{
|
||||
// Hide the cursor, reveal when exiting
|
||||
write("\33[?25l");
|
||||
scope (exit) write("\33[?25h");
|
||||
|
||||
// Load default config
|
||||
wrapTOML(cast()config, config_toml.parseTOML());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user