Comments (8)
AFAIK, this is still an issue, should it be reopened as a bug on nodejs/node
? Having troubles getting it to work correctly on Node 5.7.1, Windows 10.
from help.
If anyone is still watching this issue, a fix is incoming: libuv/libuv#866
from help.
http://stackoverflow.com/questions/17470554/how-to-capture-the-arrow-keys-in-node-js
from help.
There is some minor depreciation going on here. π
π
from help.
Just tested the keypress package, same problem, It awaits an initial ENTER input, then it works normally.
I think the deprecated calls are for the TTY object, they suggest to call process.stdin. which is what I do ??
Perhaps it's on my end? But it's the same on 2 computers. Windows 10 and Windows 8.1.
I have a TUI lib that I was developing a year ago with node 0.10.0. But since I got back to it and decided to upgrade it to support the new nodes, that's where this problem came it.
It worked perfectly with older node versions, which is something to make be believe that this is a bug?
from help.
As a temporary solution I request an enter keystroke at the beginning of the program.
The user presses enter and then stdin raw captures the keys normally.
from help.
Yeah, the temporary solution is good, but It's a weird problem. Well alright then let me know if you wish further help.
from help.
Will do, thanks! πΊ
from help.
Related Issues (20)
- Need help with embedded API HOT 3
- Install Node.js with FIPS enabled HOT 8
- enable exception for the embedder example
- Is Node.js version 20.8.X officially supported on Windows server 2012 R2 ? HOT 4
- Error with first launch HOT 1
- Error building 22.2.0 (v8) on Debian 12 HOT 3
- Extendeing Buffer HOT 9
- use "yarn install" There are always errors βerror Error: incorrect data check at Zlib.zlibOnError [as onerror] (node:zlib:189:17)β HOT 2
- Emulating files with no writing to disk HOT 3
- Resolve promise synchronously HOT 4
- sqlite3 5.1.7 will not require or import on nodejs HOT 6
- How to use private keys persisted in the TPM with tpm2-openssl OpenSSL Provider
- Stop cpu profiling without SIGINT from pod HOT 1
- Can't read and write to target executable HOT 5
- Segmentation fault (core dumped) when run executable file HOT 2
- Help me i have problems with running npm HOT 2
- crypto.privateDecrypt throwing Error: error:0407109F:rsa routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error HOT 4
- Node Js Website URL Change
- MSVC Deprecation on windows builds? HOT 1
- node --prof: high load of Shared libraries /usr/bin/node HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from help.