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

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

bug#71440: Re: Re: bug#71440: Python Inferior Mode Can’t Recognize My Pr


From: shynur .
Subject: bug#71440: Re: Re: bug#71440: Python Inferior Mode Can’t Recognize My Prompt
Date: Sat, 8 Jun 2024 19:50:14 +0000

> Because your PYTHONSTARTUP file is encoded in UTF-8, right?

Yes.

> Anyway, codepage 1252 cannot encode these two characters

Python inferior mode works well with

```python
import sys
sys.ps1, sys.ps2 = "►", "▻"
```

The problem came after I change PS to "\033[32m►\033[0m".
"\033[32m" and "\033[0m" color the prompt in terminal.

reply via email to

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