Skip to content
Snippets Groups Projects
Commit 11255c6f authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'dd_msg_reader_attr_reset_change' into 'master'

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

See merge request !247
parents f77f1984 b12262d3
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.
Please register or to comment