webui: empty terminal input before set readonly