Permalink
Browse files

- Fixed terminal output.

  • Loading branch information...
1 parent 05cc564 commit f5e7bea0d09799307db79a416dae8de7f9945918 @Shougo Shougo committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/vimshell/terminal.vim
@@ -320,7 +320,7 @@ function! s:output_string(string)"{{{
let s:lines[s:line] = ''
endif
let l:left_line = matchstr(s:lines[s:line], '^.*\%' . s:col . 'c')
- let l:right_line = s:lines[s:line][len(l:left_line) :]
+ let l:right_line = matchstr(s:lines[s:line], '\%' . s:col+len(l:string) . 'c.*$')
let s:lines[s:line] = l:left_line . l:string . l:right_line

0 comments on commit f5e7bea

Please sign in to comment.