Comments (1)
I made a small modification to crossterm_winapi
to allow it to display low-level input events.
Windows Terminal seems to send two input events for surrogate pairs, one with key_down: true
and one with key_down: false
.
When input from the console displayed by AllocConsole
, only the one with key_down: false
is sent.
If one of consecutive upper surrogates and the lower surrogate in the absence of an upper surrogate were ignored, it would be possible to handle this kind of input pattern.
from crossterm.
Related Issues (20)
- Why are ansi 3/4 bit colors not supported? HOT 2
- Port from libc to rustix on Unix platforms HOT 4
- Document the feature `use-dev-tty` on `crossterm::event::{poll, read}` HOT 1
- Event::Mouse doesn't capture modifiers in zellij HOT 1
- Support for sending ansi special characters to terminal
- `event::read` incorrectly returns `Esc` key press event while scrolling the mouse wheel HOT 1
- Padding when trying to fill whole terminal. HOT 1
- Terminal settings do not get restored on exit when using bash HOT 1
- Differentiate between keyboard/numpad chars
- Mac doesnt report Shift or Ctrl with enter key HOT 3
- iTerm2 image protocol for vscode
- Support OSC 52 for clipboard interraction HOT 1
- Support win32-input-mode
- `crossterm::event::poll` function fails on macOS with a timeout larger than 100 million seconds
- serde support for Attributes
- add support for win32-input-mode
- Synchronized Update doesn't work on Windows
- Support Pixel Coordinates in Mouse Events HOT 1
- Macros to reduce the syntactic burden of parsing events HOT 4
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 crossterm.