UltCombo / ult-terminal

UltCombo's Atom terminal.
MIT License
2 stars 1 forks source link

STDIN for Terminal #15

Open ivankravets opened 8 years ago

ivankravets commented 8 years ago

Can't write to stdin using the terminal emulator

How is difficult to implement it?

P.S: We use this terminal in PlatformIO IDE beta but people request STDIN :(

Thanks in advance!

UltCombo commented 8 years ago

Hello, thanks for your interest.

How is difficult to implement it?

I'm not really sure. Several CLIs require "real-time" input, so my idea was to capture keydown events in the whole terminal simulator (while it has a child process running) and write the inputted character to the child process' stdin stream.

I'm quite time constrained at the moment and I'm not sure how well that idea would work out in practice, but I'm open to pull requests in case anyone wants to give it a try.