client: fixed bug on ui_console input overflow