prompt-toolkit / python-prompt-toolkit

Library for building powerful interactive command line applications in Python
https://python-prompt-toolkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9.11k stars 718 forks source link

How to make prompt app without saving its stdout in terminal after exit? #1706

Open elseecay opened 1 year ago

elseecay commented 1 year ago

I wanna create app like GNU parted where user typing some commands But after Ctrl+C I dont wanna that commands and some application output appearing in current terminal session

Is it possible without prompt_toolkit.Application, just using prompt function?