When configuring the Team Explorer Everywhere Cross-Platform Command Line Client to use vim for diff and merge the terminal window the terminal gets broken when diffing or merging.
The terminal I am using is Cmder/ConEmu but the same symptoms also occur when using Putty.
In the terminal session with export=TF_DIFF_COMMAND='vimdiff %1 %2'
Calling
tf diff file1 file2
outputs Vim:Warning:Input is not from terminal and Vim:Warning:Output is not from terminal
. Additionally it displays a vim window with two panes that is less than a quarter smaller than the size of terminal window. See the screenshot for an idea, however keep in mind that I removed some of the space to the right and to the bottom of the screen in order to keep the screenshot small. Broken Vim Window
The input is broken and the terminal never quite looks normally after quitting with Ctrl-C, the color scheme is broken.
How do I get the cross-platform command line client play nice with vim... or vim to play nice with the cross-platform command line client.