Move cursor on shell input