node.js - Accept key commands at any time without prompting -


I have a node. I am trying to write Js CLI utility which periodically logs to the screen but without any indication, at any time in the Key Command Vime, some of the closest analogs, like the command bar, said, I'm not sure That's where to start from and it's not even known where you call this behavior.

Node-CLI is not known, but you're probably looking for somethings which write in bash Can:

  while sty-cutting: read -T1-n1 key case "$ key" '') ;; #nothing q) statty sensible; Go out ;; A. D) echo "left-right";; W | S) Echo "up-down";; *) Echo "unknown $ key" ;; ASAC   

Try it (press q to exit)

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

Delphi: missing interface declarations for UI Automation methods -

android - How to attach an image from an app to gmail -