Remove ANSI from standard out
This commit is contained in:
parent
31eaa4455e
commit
72794b36d9
@ -546,7 +546,7 @@ function! s:output_response(response) abort
|
||||
echohl NONE
|
||||
endif
|
||||
if get(a:response, 'out', '') !=# ''
|
||||
echo substitute(a:response.out, '\r\|\n$', '', 'g')
|
||||
echo substitute(a:response.out, '\e\[[0-9;]\+m\|\r\|\n$', '', 'g')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user