kbtrans: autorepeat should have limit on repeat count
When key is held, the kbtrans module will autorepeat the keypress. In case we never get the keyup event, nothing stops the autorepeat..
Add counter based check and limit the autorepeat to 80 chars. The limit is static global, so we can adjust it with mdb for now, it is easy to add kbd option too.
Updated by Electric Monk about 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 5d420dfb9577a4f834e8d2d5dfad9208567450d3 Author: Toomas Soome <email@example.com> Date: 2019-05-06T15:50:05.000Z 10551 kbtrans: autorepeat should have limit on repeat count Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>