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