rust/src/libterm/terminfo
Martijn Vermaat 1825f80fab Fix default terminfo code for reset (sg0 -> sgr0)
Resetting the terminal should first try `sgr0` (as per the comment), not
`sg0` which I believe to be a typo.

This will at least fix rustc output in Emacs terminals (e.g., ansi-term)
with `TERM=eterm-color` which does not provide the next fallback `sgr`. In
such a terminal, the final fallback `op` (`\e[39;49`) is used  which
resets only colors, not all attributes. This causes all text to be
printed in bold from the first string printed in bold by rustc onwards,
including the terminal prompt and the output from all following commands.

The typo seems to have been introduced by #29999
2016-12-28 14:40:00 -05:00
..
parser term: undo conversion of user defined try!s 2016-03-22 22:03:19 -05:00
mod.rs Fix default terminfo code for reset (sg0 -> sgr0) 2016-12-28 14:40:00 -05:00
parm.rs Replace _, _ with .. 2016-09-04 12:30:33 +03:00
searcher.rs Fix terminfo database search path 2016-11-06 18:20:38 +01:00