grosser / ruco

Desktop-style, Intuitive, Commandline Editor in Ruby. "Better than nano, simpler than vim."
MIT License
130 stars 10 forks source link

Fast key-repeat rate causes problems #12

Open epitron opened 11 years ago

epitron commented 11 years ago

In Linux, my key repeat rate is very high. If I hold down Alt-B or Alt-F to go backwards or forwards one word at a time, 50% of the key-events appear as one of: ^f, ^[f, ^b, or ^[b.

Arrow keys, home, and end don't have this problem, however.

grosser commented 11 years ago

can you try to tweak the sequence timeout https://github.com/grosser/ruco/blob/master/lib/ruco/keyboard.rb#L8 and see if it helps ?