91861 / wayst

A simple terminal emulator
MIT License
295 stars 9 forks source link

Resume key repeat even if new key pressed before previous repeat timeout #7

Closed freed00m closed 4 years ago

freed00m commented 4 years ago

I think this behavior is wrong at least I do not observe it in any other terminal.

Problem: Imagine I press j and let it repeat multiple time. If I press for example k before the key-repeat timeout (I guess 100ms you hardcoded?) then only single k is put.

If I press it after the timeout, the k repeats correctly.

Major issue for VIM navigation, when you want to quickly change directions.

Tested in both BASH and DASH and even in different emulators, it's wayst thing.