add pgup/pgdn keys and fix history in multiline edits
Merge pull request #445 from ailin-nemui/up-down-pgup-pgdn

add pgup/pgdn keys and fix history in multiline edits