'prompt' config isn't working
phil-s opened this issue · 4 comments
I'm trying to restore the prompt to >>>
using the 'prompt'
config per https://github.com/bobthecow/psysh/wiki/Config-options but it's having no effect. Other config changes (such as colour) are working, so this seems like a bug/regression.
Relatedly, I see that the continuation prompt has also changed, and that doesn't have a config setting yet. Can that please be added at the same time? For consistency with the older versions, I want to set these both to what they used to be.
You're right! We recently added support for themes, which control the input, continuation and replay prompts, the return value indicator, formatting styles (colors, bold, etc) and whether or not to use compact output.
You can restore everything to the previous styles by using 'theme' => 'classic'
, or do some mix of old and new styles via custom themes. See the docs for more info.
This is also an unintended regression. It should still support the old option as long as there's no theme set, so I'll get that fixed.
Aha. That covers all of my needs nicely. Thank you!
Great! The regression has been fixed as well :)
And now it's in the latest release. Thanks for the bug report!