Yes, that's all you need - to pipe another input device in. You will lose the ability to do things like Ctrl-C to break out of executing code, but otherwise it's fine
Hello again. As REPL returns data (I am about data that comes on LoopbackB.on(data => ...) with various combinations of special symbols ['\r\n', '1x0B[', etc], I wanted to ask if it's possible to check all those "heads" and "tails" of messages.
Yes, in a common case, it's not hard to parse text from there with regexps, but this way I can easily not to take some cases into account. Thanks for attention!
© Espruino, powered by microcosm.
Report a problem