Skip to content
Snippets Groups Projects
Commit 7b440331 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 77b5831d 531d28e3
No related branches found
No related tags found
No related merge requests found
......@@ -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