fixed: not working under terminal
added: trigger for semantic complete