From: Junio C Hamano Date: Wed, 24 Nov 2021 19:34:49 GMT Subject: Re: [PATCH] editor: only save (and restore) the terminal if using a tty Message-ID: In-Reply-To: Johannes Schindelin writes: > Maybe a better approach would be to hide the `save_term()` dance behind a > new config option, and then have it turned on automatically if the > `editor` _happens_ to be `vi` or `vim`. Why 'vi' and 'vim' are so special? Is this an attempt to paper over a bug in 'vim' on the caller side? > > That would help the problem reported in the Windows Terminal project. > > Ciao, > Dscho