Send escape sequences to the terminal and read back responses
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
This will cause the process to hang: In fact, this will also cause the process to hang: Calling immediately after in both examples allows the process to exit. This is because Node.js doesn't clear the ref for , even if all listeners are removed. I believe the solution could be to initially check whether is already refed, and unref it at the end if it wasn't.
Repository: sindresorhus/terminal-query. Description: Send escape sequences to the terminal and read back responses Stars: 15, Forks: 2. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v0.1.1 (7mo ago). Open PRs: 0, open issues: 0. Last activity: 7mo ago. Community health: 71%. Top contributors: sindresorhus.