bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11785: 24.1; term-mode doesn't respect first color change from a pro


From: Glenn Morris
Subject: bug#11785: 24.1; term-mode doesn't respect first color change from a process
Date: Tue, 26 Jun 2012 03:34:34 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Michael Hoffman wrote:

> $ cat test.sh
> #!/usr/bin/env bash
> echo -e "\E[31mRed \E[32mGreen"
>
> When running this, I expect to get "Red" in red and "Green" in green.
>
> Running `emacs -Q --eval '(ansi-term "./test.sh")' with Emacs 24 results
> in "Red" in black (not red as expected) and "Green" in green. Doing this
> with Emacs 23.1 results in the expected behavior ("Red" in red).

The issue first appears in 23.2. Removing the call to term-ansi-reset in
term-mode brings back the red.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]