neo-blessed
neo-blessed copied to clipboard
Example blessed-telnet.js displays on server console instead of telnet client
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.
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 })