Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtlib/emscripten: when running under node.js write directly to proces…
…s.stdout This fixes an extra newline being appended after every PRINT due to console.log(). This is a quick fix just for write() in fb_rtlib.js. No other rtlib functions, e.g. COLOR, are implemented. But there's really no overlap between the existing termlib.js-based fb_rtlib.js and one that directly accesses a tty through node.js, so we should just have a separate .js file for that.
- Loading branch information