oh-my-git icon indicating copy to clipboard operation
oh-my-git copied to clipboard

terminal: Change input handling

Open xim opened this issue 3 years ago • 0 comments

  1. Handle page up / down for scrolling terminal history
  2. Handle repeat keypresses, so e.g. holding pgdn will scroll
  3. _input is passed a single event, so we save some CPU cycles by using elif for all branches

xim avatar Nov 03 '22 08:11 xim