You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this used to work, but then I broke it as part of how I implemented restoration of the old sys.ps1 and sys.ps2 when quitting from a Hy REPL launched inside the Python REPL (#2355). Probably the right thing to do is have the user set different variables, say repl-ps1 and repl-ps2. The way the old setup worked, if you customized Hy's prompts, Python's would change to the same values, and vice versa.
The documentation for the REPL gives an example of setting the REPL prompt. Here is the simplest hyrc to illustrate the problem.
Starting hy from bash (with HYSTARTUP set appropriately) does not replace sys.ps1. Setting sys.ps1 subsequently gives the expected behaviour.
The text was updated successfully, but these errors were encountered: