Comments (3)
the output if I run your code
Press ESC to quit
char: 'a'
key: 0
char: '\x00'
key: 65515
char: '\x00'
key: 65514
char: '\x00'
key: 65517
char: '\x00'
key: 65516
char: '\x00'
key: 65519
char: '\x00'
key: 65518
$ echo $TERM
xterm-256color
from keyboard.
Hi @kzoper , I tried your code on linux (Ubuntu) with latest version of library, and it seems to be working. I couldn't reproduce your error. Could you please pull latest version and try again?
from keyboard.
@eiannone I can reproduce this when I run it under tmux or screen. Outside of tmux/screen it works as expected.
from keyboard.
Related Issues (20)
- can not build for freebsd 386 HOT 1
- crash on few characters in loop HOT 1
- allow acces to the channel for use in switch case HOT 1
- rasberry 3b+ report error HOT 1
- keyboard.Close() freezes without keyboard input HOT 2
- issue with the arrow keys HOT 4
- some keys cause 'unrecognized escape sequence' HOT 4
- Command + arrow keys Error
- Global key strokes recording outside of application window HOT 2
- German keyboard on Windows: `{` & `[` does not work HOT 1
- The Rune value of "KeySpace" must be "32" not "0".
- Add a function to continuously get keystrokes until the "application is quited" or "keyboard.Close() called".
- Allow inserting keystrokes
- issue using GetSingleKey HOT 4
- send keys in testing HOT 1
- Navigation keys in certain terminals
- When trying to install I get these three errors. HOT 5
- Data Race detected HOT 3
- Unable to handle paste HOT 1
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 keyboard.