Console example: fixing losing text selection when using TAB completion with no match