Tab completion and escape sequences were interacting weirdly.  Fix.