Comments (6)
IIRC, kitty does not currently follow the spec exactly in that lock keys are only reported when some other modifier is present as well. I think this was done to make it easier for programs that kind of support CSIu to not get confused by the lock keys.
from kitty.
Or maybe I am misremembering, need to check when am at my dev machine.
from kitty.
Checking, I see caps_lock+space reported as expected when the caps_lock is engaged and the space key is pressed.
from kitty.
Thanks for the quick fix/update! I'll update foot accordingly.
from kitty.
Just to clarify this:
The intent is that with even \e[>1u
, locked modifiers should be present for any keypress? Meaning if a user has numlock engaged, then the effect is that all keypresses are sent as escapes (since we need an escape to send the numlock mod). Same for capslock - any capslock key would then be sent as an escape sequence.
Do I have that correct?
from kitty.
No, that's precisely the use case I was thinking of when I said kitty doesn't follow the spec precisely. The lock modifiers are not reported for keys that dont already have a CSIu encoding. This is to make this mode useable in programs that still want to mostly use legacy key handling. So having caps lock engaged and pressing a will just send A. But, having caps lock engaged and pressing an function key does report the modifier since the function key is already encoded as an escape code not as a text.
So while technically this kind of violates the promise of this mode to disambiguate all keys (shift+A and caps_lock A are the same), its worth it for backwards compat. Easy to check with printf "\e[>1u"; showkey -a
from kitty.
Related Issues (20)
- kitty.conf conflicting shortcuts ctrl+shift+n opens a new window HOT 6
- kitty version >= 0.32.0 CJK characters to show up as rectangle boxes HOT 9
- Moving window forward or backward in splits layout
- Mouse just doesn't want to dissapear
- Cannot use kitten theme on workplace network even when using proxy HOT 1
- Direct Unicode input HOT 3
- Keymap doesn't respect the layout when splitting window HOT 2
- NSInternalInconsistencyException raised when launching `cat` on Mac M1
- Kitty version 0.33.1 not showing some unicode character HOT 1
- Cedilla (ร / รง) not available in US International keyboard layout HOT 1
- ALT key combo in 8-bit mode HOT 7
- Kitten Themes UI clarity.
- benchmark and optimize startup time HOT 1
- Autohide tabbar HOT 2
- Allow `combine` mappable action to use a custom delimiter HOT 1
- Cursor gets Reset after sourcing ~/.zshrc HOT 2
- Scrolling became unusable on Wayland HOT 2
- Characters get bugged when entering a container HOT 1
- With `symbol_map` set, kitty still renders nerd font icons in two ways HOT 5
- kitty is constantly freezing up 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 kitty.