Console: basic implementation of autocomplete