Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix suspension capability when calling out to external commands
Clear the terminal before calling out to an external command so the altscreen won't mess up any downstream subshell management. Restore terminal settings as per init_display when restoring. Reproducible with example from[0]: - Run `tig status` - Press 'e' to open Vim - Press Ctrl-Z to suspend Vim - Run `fg` - Quit Vim [0] #232 (comment) Refs: #232
- Loading branch information