Package: silversearcher-ag
Version: 2.1.0-1

If you use --pager=less and make syntax in error in the regexp, your terminal is left in a bad state (with echo disabled among others):

  $ ag --pager=less +; echo '----'; stty
  ERR: Bad regex! pcre_compile() failed at position 0: nothing to repeat
  If you meant to search for a literal string, run ag with -Q
  ----
  speed 38400 baud; line = 0;
  lnext = <undef>; min = 1; time = 0;
  iutf8
  tab3
  -icanon -echo -echoe -echok


-- System Information:
Architecture: i386

Versions of packages silversearcher-ag depends on:
ii  libc6     2.27-3
ii  liblzma5  5.2.2-1.3
ii  libpcre3  2:8.39-9
ii  zlib1g    1:1.2.11.dfsg-1

--
Jakub Wilk

Reply via email to