Hide cursor while running application

This commit is contained in:
2025-11-27 03:28:19 +01:00
parent 1e6f7f0ae6
commit 65a4508ed3

View File

@ -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());