neo-blessed icon indicating copy to clipboard operation
neo-blessed copied to clipboard

Example blessed-telnet.js displays on server console instead of telnet client

Open sigmareaver opened this issue 6 years ago • 1 comments

I'm running Win 7 x64, and the latest Node (10.x)

Attempting to solve my issue with websockets, I decided to try out the telnet server. Lo and behold, when I run the blessed-telnet.js example, and I connect a client, it proceeds to render blessed to the server console instead of the telnet client.

I would attach a screenshot, but for some reason, GitHub isn't allowing it.

sigmareaver avatar Oct 14 '18 19:10 sigmareaver

After a bit of experimentation, I've found that: blessed.screen({ input: client, output: client }) Seem to be not doing anything. But if you change: blessed.program({ input: client, output: client }) This works. Of course you also have to assign it to screen. blessed.screen({ program: yourProgram })

sigmareaver avatar Oct 14 '18 22:10 sigmareaver