Coder Social home page Coder Social logo

Czech keyboard about a-shell HOT 13 OPEN

honzapulpan avatar honzapulpan commented on May 30, 2024
Czech keyboard

from a-shell.

Comments (13)

holzschu avatar holzschu commented on May 30, 2024 1

@cristeahub: about Vim and alt-keys, at least on my keyboard, left-alt and right-alt behave differently: left-alt-c sends escape-C, right-alt-C sends "รง". Which is extremely weird, because I didn't think there was a difference between them. I'm looking into it. That is also the reason why alt-keys don't work.

Support for Norwegian keyboards is going to be in the next build (93).

from a-shell.

holzschu avatar holzschu commented on May 30, 2024

Interesting. I'll have a look.
I think it could be related to the "use caps-lock as escape" option. Is the problem still there when you deactivate the option?

from a-shell.

honzapulpan avatar honzapulpan commented on May 30, 2024

Yes, the problem still exists when I deactivate the option.

Most of the special characters I use are at number keys. Alt+number writes number instead of special character. Except alt+1 and alt+5, which writes apostrophe. It is correct for alt+1, while alt+5 should write ~. And alt+9 writes [, while it should write {. Similar alt+0 writes ], while it should be }.

There is different behavior using iPython. Alt+1 writes apostrophe (correct), while alt+2,3 etc. writes nothing and down in status above keyboard bar โ€œRepeat 2โ€ (or 3...) is shown.

It isnโ€™t a huge problem though, I still can use English keyboard :-)

from a-shell.

holzschu avatar holzschu commented on May 30, 2024

This is interesting. Without "escape as caps-lock", we use iOS default keyboard management. I did notice it had issues in French with "รง/ร‡" (alt-c), but I hoped other languages would be spared.

The good news is, since I already added something for the French keyboard, it should be easy to expand it for other keyboards. Is this the right layout?
https://cdn.shopify.com/s/files/1/0810/3669/files/mac-czech-keyboard_1024x1024.png?12659750357617424768

I think the behaviour in iPython is related how it manages shortcuts, bypassing the system shortcuts.

from a-shell.

honzapulpan avatar honzapulpan commented on May 30, 2024

Yes, this layout is correct. Doesn't show all the ALT or SHIFT-ALT characters (most of them I never used :-)

Here are the full layouts with SHIFT and ALT keys (screens from MacOS, but I checked and it's the same at iPad)

CZ layout:
cz_keyboard
with SHIFT:
cz_keyboard_SHIFT
with ALT:
cz_keyboard_ALT
with SHIFT+ALT:
cz_keyboard_SHIFT_ALT

Thanks a lot. And it's really not a big issue, if you don't want to fix it :-) I can imagine it may be lot of work.

from a-shell.

holzschu avatar holzschu commented on May 30, 2024

I've added it to the TODO list: https://github.com/holzschu/a-shell/projects/1
It's a long list, but I'll get to it.

from a-shell.

cristeahub avatar cristeahub commented on May 30, 2024

One thing to note here is that in the newest iOS verison you can remap CAPS to ESC via the system settings for external keyboards. Maybe all the remapping done in the app can be removed.

The norwegian keyboard suffers greatly as it is right now. To type { one needs ALT+SHITFT+8. As it stands right now, that is not possible.

from a-shell.

holzschu avatar holzschu commented on May 30, 2024

The fix for Czech keyboards will be in Build 86, soon to be on TestFlight. During my tests, I found that left-alt and right-alt behaved differently, which was surprising.

@cristeahub do I understand correctly that there is a similar issue for Norwegian keyboards? On which keys, specifically? Now that I have specific treatment for 2 languages, adding a third is easier.

from a-shell.

cristeahub avatar cristeahub commented on May 30, 2024

@cristeahub do I understand correctly that there is a similar issue for Norwegian keyboards? On which keys, specifically? Now that I have specific treatment for 2 languages, adding a third is easier.

There are two issues:

  • Within vim none of my option keys work. If I press option and press buttons nothing appears.

  • When using the Norwegian layout some, but not all, of the alt modifiers are ignored. The number row seems to work fine, but the letters doesn't.

Here's the layout for reference:
No modifier keys:
image

With shift:
image

With option:
image

With option+shift:
image

from a-shell.

honzapulpan avatar honzapulpan commented on May 30, 2024

Thank you @holzschu. I tested it at build 86 and Czech keyboard is working perfectly fine.

from a-shell.

holzschu avatar holzschu commented on May 30, 2024

Hi,
build 94 has a generic fix (alt-key should now work with all external keyboards). I removed the code specific to Czech, English or Norwegian keyboards. Please let me know if this doesn't work.

from a-shell.

honzapulpan avatar honzapulpan commented on May 30, 2024

Czech one works perfectly fine. Now also in ipython. Thanks!

from a-shell.

cristeahub avatar cristeahub commented on May 30, 2024

This works great! Thanks a lot! ๐Ÿ‘

from a-shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.