Make the PAGEUP and PAGEDOWN can remember the last input
Merge pull request #8 from darklord1310/master

Make the PAGEUP and PAGEDOWN can remember the last input