Conversation
|
Very cool, I'm still working on replacing python-prompt-toolkit and the custom kitty keyboard protocol support with my blessed library, I also implemented this "physical location" support there, I was just in the phase of testing and updating the README so I'm glad you're doing the same, I'll rebase my work off of this branch and submit soon |
|
@jquast Thanks, that was quite a rabbit hole. I also noticed that In kitty, when pressing IntlBackslash: In ghostty: I think Also I did not test it on windows and macos, that's why it's not merged yet.
Awesome. Migrating to |
|
I also got slowed down a bit by testing, but so far the blessed transition is looking good, I will rebase and continue testing again soon. I also reported a bugfix, in Contour, and several fixes in the blessed library, so I am glad to see your gambaterm project has been useful for fixing many other projects :) |
Investigating and fixing race conditions in other's projects?? That's real dedication to open source software :)
No hurry, I still have a couple of things to investigate here and there. |
|
And another :) contour-terminal/contour#1924 |
Specification of DOM keys:
https://www.w3.org/TR/uievents-code/#key-alphanumeric-writing-system
This means
gambatermnow uses physical location on the keyboard which do not depend on the current keyboard layout. This allows AZERTY and Bépo users to play without changing their layout.This means we now use the "base layout key" from the kitty keyboard protocol and scan codes from
pynput, which we then translate using thedom_code_data.incchromium table