up down left right don't response
See original GitHub issuerun command
deno run --unstable https://deno.land/x/cliffy/examples/keycode/read_key.ts
up down left right don’t response, But the other keys on the area like number keys can use normally.
It lead to the module such as ‘checkbox’ ‘select’ which need to use with ‘up/down’ key can not use conveniently. Change c configuration button parameter were not found either.
It seems like the ‘deno’ doesn’t response to key-press originally.
deno 1.12.2 win10 1809 system locale zh-cn
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
up and down arrow keys don't work properly.
Here's how: in Device Manager, right-click (or tap and hold) your touchpad driver > Update driver software... > Browse my computer for driver ......
Read more >Keyboard Arrow Keys Not Working? Try These Fixes!
The arrow keys may stop working due to various reasons. But don't worry. Here we'll show you how to get them working correctly...
Read more >Up, Down, Left and Right arrow keys do not trigger KeyDown ...
I am building an application where all the key input must be handled by the windows itself. I set tabstop to false for...
Read more >Directional buttons not responsive - DualShock 4 - iFixit
Directional buttons not responsive. On my original PS4 controller (got another one when I upgraded to PS4 Pro), the up, down, left and...
Read more >Up and Down Arrow Keys Not Working on MacBook Pro M1 Max
I got a new MacBook Pro M1 Max a few days ago. I just noticed that my up and down arrow keys are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
u
andd
meansup
anddown
, someone made a pr to add these aliases.8
and2
works forup
anddown
too. But you can also override all keys with thekeys
option and show some info with ether theinfo
orhint
option.The
info
option prints something like:But the symbols are currently hardcoded, will make a pr to fix this so it will look like this:
With the
hint
option you can display any info you want.I noticed the fix in #274 is not complete.
Here’s a prompt with
info: true
and here’s a prompt with
info: true, search: true
The problem is that the up & down arrows suggested to the user by cliffy don’t work. I get why search and u/d keys are incompatible - so for now I’m just disabling search on windows, which provides a very degraded experience.
Not sure what a good fix it, this is really an upstream deno problem.