title: Aborting script when git operation is performed in midnight commander make input characters invisible
body: <p>I have a script that performs git operations like checkout, fetch, pull and mvn clean  install in several repos. 
  If I press CTRL-C when script executes git operations it stops. But after that I can't see characters I'm typing in that terminal. 
  If I press enter I see that terminal executes typed command and see output but can't see characters I put into the terminal.
  It is reproduced all the time in MC, but everything is OK in plain termminal.
  Does anybody know what is the reason of such behaviour?</p>