Commit 11255c6f authored by Rob Swindell's avatar Rob Swindell 💬
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
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment