You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite passing terminal: false, when readline.createInterface is called, it is called with terminal: true. It comes down to this line:
var terminal = !!(opts.terminal || output.isTTY)
I guess process.stdin being TTY will set this to true, but I get some weird behavior with my prompts with this setting. Namely, there is a large set of extra space after my prompt text. This goes away if I can set terminal to false.
Is there just something simple I am missing or is this a bug? If it is a bug I can whip up a PR tomorrow. Let me know!
The text was updated successfully, but these errors were encountered:
Despite passing
terminal: false
, whenreadline.createInterface
is called, it is called withterminal: true
. It comes down to this line:var terminal = !!(opts.terminal || output.isTTY)
I guess
process.stdin
being TTY will set this to true, but I get some weird behavior with my prompts with this setting. Namely, there is a large set of extra space after my prompt text. This goes away if I can set terminal to false.Is there just something simple I am missing or is this a bug? If it is a bug I can whip up a PR tomorrow. Let me know!
The text was updated successfully, but these errors were encountered: