Skip to content

Commit

Permalink
Strip control characters from Ack output under tmux (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyatom authored and tpope committed Jul 23, 2016
1 parent 5f5c22c commit 0991301
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/dispatch/tmux.vim
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function! dispatch#tmux#make(request) abort
let filter .= " -e \"s/\r$//\" -e \"s/.*\r//\""
let filter .= " -e \"s/\e\\[K//g\" "
let filter .= " -e \"s/.*\e\\[2K\e\\[0G//g\""
let filter .= " -e \"s/.*\e\\[?25h\e\\[0G//g\""
let filter .= " -e \"s/\e\\[[0-9;]*m//g\""
let filter .= " -e \"s/\017//g\""
let filter .= " > " . a:request.file . ""
Expand Down

0 comments on commit 0991301

Please sign in to comment.