Replies: 1 comment 1 reply
-
@dilawar how does this proposal sound? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The way we currently handle writing to stdout, is not compatible with interactivity in the cli.
We first collect the output from stdout and then print the lines after prefixing it with "MPM", this messes up the stdin in ways, for eg. the stdin will open before printing the Yes/no line or the line will be missing altogether.
Therefore if we want to implement the feature, I propose the following:
We can pass an interactivity flag to the program to turn on this feature.
When the flag is passed, we do not prefix the output of the stdout and print them as it is, instead we can print a banner at the top indicating that
mpm
is being run.The output will look something like this:

How does this sound?
Beta Was this translation helpful? Give feedback.
All reactions