Thread (3 messages) 3 messages, 3 authors, 2021-11-29

Re: [PATCH] editor: only save (and restore) the terminal if using a tty

flat view

From: Junio C Hamano <hidden>
Date: 2021-11-24 19:35:20

Johannes Schindelin [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help