Fixed console multiline behavior (delete, history, arrows, insert and tab)