Console: Support home and end key
Console: Support pasting of multiple lines