Skip to content

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

Open
alecthomas wants to merge 1 commit into
mattn:masterfrom
alecthomas:master
Open

Add support for running sub-processes under a PTY#144
alecthomas wants to merge 1 commit into
mattn:masterfrom
alecthomas:master

Conversation

@alecthomas
Copy link
Copy Markdown

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
Copy Markdown
Author

Ping?

@mattn
Copy link
Copy Markdown
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
Copy Markdown
Author

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

@alecthomas
Copy link
Copy Markdown
Author

Ping.

@alecthomas
Copy link
Copy Markdown
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