Questions tagged [python-prompt-toolkit]
4 questions
1
vote
0 answers
not changing the text color inputted from user
i want to change the prompt color to red and the inputted color to blue but it is not working. I am using prompt-toolkit for this purpose
prompt_style = styles.Style.from_dict({
'input_prompt': 'fg:yellow',
'input' : 'fg:blue',
…

Risen Star
- 11
- 4
1
vote
0 answers
how i can scroll in ptpython 'help' window
is there any way how I can scroll inside 'help' window in ptpython repl? When I type the name of a function a help opens at the bottom, but I don't know how i can scroll it up/down (or search inside it). Is this possible? I know about the…

matej
- 121
- 3
0
votes
0 answers
How to mutualy exclude choices in InquirerPy
I would like to make InquirerPy have exclusive selectors for users, so that it un-toggles options that are in a mutually exclusive grouping. I have looked through the source and don't see a way to do it, but perhaps I'm wrong.
For example; this code…

Peter Moore
- 1,632
- 1
- 17
- 31
0
votes
0 answers
python-prompt-toolkit spawns a lot of threads
I'm really only using it for command history up/down functionality on windows - I couldn't get pyreadline3 to work correctly. Everything works fine, but using the up and down keys creates up to 40 threads that never go away.
from prompt_toolkit…

Egor
- 1,838
- 13
- 14