https://github.com/danieloneill/jsiterminal
Extremely simple JSI component to accept keyboard input on a Linux terminal
https://github.com/danieloneill/jsiterminal
Last synced: 5 months ago
JSON representation
Extremely simple JSI component to accept keyboard input on a Linux terminal
- Host: GitHub
- URL: https://github.com/danieloneill/jsiterminal
- Owner: danieloneill
- Created: 2019-08-05T03:30:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-05T03:33:20.000Z (almost 7 years ago)
- Last Synced: 2025-10-03T21:46:36.277Z (9 months ago)
- Language: Makefile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jsiterminal
Extremely simple JSI component to accept keyboard input on a Linux terminal
## Installation:
```
make && sudo make install
```
## Usage:
```
require('Terminal');
var stdin = new Terminal();
while(1)
{
System.update(50);
var ch = stdin.read();
while( ch && ch.length > 0 )
{
puts("I got a key: " + ch);
ch = stdin.read();
}
}
```