Comments (4)
Hi, can I work on this?
from donkeytype.
Sure 👍
from donkeytype.
I was able to get alt+backspace
working but on windows and linux the shortcut to delete last word is ctrl+backspace
. It looks like crossterm gives ctrl+h
(konsole, alacritty) or ctrl+w
(VSCode terminal) when ctrl+backspace
is pressed. We can probably detect those keys and delete the last word.
Using PushKeyboardEnhancementFlags
seems to give the correct event but it only works on terminals which support the kitty keyboard protocol
We can probably use PushKeyboardEnhancementFlags
for terminals that support it(using crossterm::terminal::supports_keyboard_enhancement
and use ctrl+h
and ctrl+w
if it is not supported. Does that sound good?
from donkeytype.
Perfect 👌
from donkeytype.
Related Issues (20)
- support configuring color scheme HOT 7
- figure out a way to mock tui::widgets::Widget to test if expected text is rendered HOT 2
- Support non Ascii characters HOT 2
- add integration tests HOT 10
- read results from csv and display them
- Test donkeytype on Linux HOT 4
- Add support for Windows HOT 1
- Windows Double KeyPress Issue HOT 1
- create a deployment workflow
- Incorrect JSON Format in Config File Example in README HOT 1
- Documentation Missing Information on `save_results` Location HOT 3
- Feature Request: Allow Custom Storage Locations for `save_results` HOT 2
- Count WPM only in words that were typed correctly HOT 2
- add argument for custom config file path HOT 2
- Add Arguments for Configuring Params in CLI HOT 1
- [Feature Request]: LAN Multiplayer
- support uppercase letters at the beginning of words. HOT 2
- support providing numbers ratio in config HOT 3
- support symbols HOT 5
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 donkeytype.