Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for running sub-processes under a PTY #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alecthomas
Copy link

This is really nice for running programs that output colour, such as coloured log lines, etc.

I defaulted it to off because some applications when run under a PTY will attempt to move the cursor around, clear lines, and so on, so it should be up to the user to decide whether to enable it.

@alecthomas
Copy link
Author

Ping?

@mattn
Copy link
Owner

mattn commented Nov 7, 2023

This break Windows behavior.

This is really nice for running programs that output colour, such as
coloured log lines, etc.

I defaulted it to off because some applications when run under a PTY
will attempt to move the cursor around, clear lines, and so on, so it
should be up to the user to decide whether to enable it.
@alecthomas
Copy link
Author

This should be fixed, though I have no means of testing it.

@alecthomas
Copy link
Author

Ping.

@alecthomas
Copy link
Author

BTW if you're generally against the idea for whatever reason, I'm happy to abandon the PR. It's a nice feature that I've been using personally, but it's your project after all :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants