Fix scrolling down if user presses something that is not just a modifier

Review Request #128827 - Created Sept. 4, 2016 and submitted

Martin Tobias Holmedahl Sandsmark

If the user presses e. g. arrow up, we should actually scroll down. What I intended to fix was only the case where the user only pressed a modifier.

And hardcoding a list of keys and behaviors is bad and bug prone, so I think this is the best solution.

Scroll up, press arrow up to go to previous item in history, and watch it scroll down.

For the issue the previous change fixed, scroll up, press meta, click in the terminal, and watch it not scroll down.

Kurt Hindenburg
Martin Tobias Holmedahl Sandsmark
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 54ecd560b8d76121256a0bd653999fb8d4acb363 by Martin T. H. Sandsmark to branch master.