Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shift keymap #297

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PaideiaDilemma
Copy link

Using underscores in test names is pretty common.

Now that sweb has tab completion, you can select tests with underscores in their name without having to type them.
Which lead to groups being confused why the tortillas test runner cannot run their tests.

So I thought it would be good to make underscores typeable by default.

Instead of remapping the keys with Terminal::remap, this introduces a shift map based on the US layout.
So other characters like :"|<>?+ are also typeable.

If this is not desirable, I would propose to just add underscores to the remap function like this.

Idk about the rpi2 and rpi3 implementations, their E0 map is weird, so I did not even touch that.
This will break shift for them.

Instead of remapping the keys with `Terminal::remap`, this introduces a
shift keymap based on the US layout.
Most notably, one can now type '_', which is commonly included in test
names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant