Skip to content
Snippets Groups Projects
Commit b12262d3 authored by Eric Oulashin's avatar Eric Oulashin Committed by Rob Swindell
Browse files

DDMsgReader: Small change in resetting the terminal attributes before the script exits

parent f77f1984
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!247DDMsgReader: Small change in resetting the terminal attributes before the script exits
......@@ -672,9 +672,7 @@ if (gDoDDMR)
// Before this script finishes, make sure the terminal attributes are set back
// to normal (in case there are any attributes left on, such as background,
// blink, etc.)
console.print("\x01n");
if (console.term_supports(USER_ANSI))
console.print("\x01B[0m"); // ESC[0m
console.attributes = "N";
}
 
// End of script execution. Functions below:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment