In the past few days whenever I type rapidly a
~ symbol continuously pops up in the terminal window. To resolve the issue I tried running
xev -event keyboard
This told me that the problem is the
NEXT KEY with key code 117, so I disabled it using this command:
xmodmap -e 'keycode 117='
Now the symbol
~ is not coming but still, its action which scrolls down the current page is still active.