Skip to content
Myr

[vim] Use s:execute_term in Windows

Before adoption: this commit came in with the history the project adopted, so no landing records it.

IMPORTANT: cmd.exe and powershell are fine in default Windows terminal. cmd.exe prompt is broken on ConEmu because it natively supports ucs-2 only. utf-16 support is exclusive to .Net (ie. powershell). utf-8 supports requires chcp, external program, but does not fix the cmd.exe prompt. Use powershell on ConEmu to avoid corrupted text on display

authored by Jan Edmund Lazo · committed by Junegunn Choi · parent 6c41c95 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:plugin/fzf.vim+1 added-1 removed
387 unmodified lines
388 let prefer_tmux = get(g:, 'fzf_prefer_tmux', 0)389 let use_height = has_key(dict, 'down') &&390 \ !(has('nvim') || s:is_win || has('win32unix') || s:present(dict, 'up', 'left', 'right')) &&391 \ executable('tput') && filereadable('/dev/tty')392 let use_term = has('nvim-0.2.1') || (has('nvim') && !s:is_win) || (has('terminal') && has('gui_running') && has('patch-8.0.995'))392 let use_term = has('nvim-0.2.1') || (has('nvim') && !s:is_win) || (has('terminal') && has('patch-8.0.995') && (has('gui_running') || s:is_win))393 let use_tmux = (!use_height && !use_term || prefer_tmux) && !has('win32unix') && s:tmux_enabled() && s:splittable(dict)394 if prefer_tmux && use_tmux395 let use_height = 0396 let use_term = 0
401 unmodified lines