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

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -