Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editor: save and reset terminal after calling EDITOR
When EDITOR is invoked to modify a commit message, it will likely change the terminal settings, and if it misbehaves will leave the terminal output as shown in microsoft/terminal#9359. Instead use the recently added {push,pop}_term() functions to save the terminal configuration and recover safely. [1] microsoft/terminal#9359 Signed-off-by: Carlo Marcelo Arenas Belón <[email protected]>
- Loading branch information