-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #8 - Allow breaking out of the UI to run external commands (eg …
…vim) This isn't perfect, but it does work acceptably. By turning off event handlers (using empty func() as the handler for an event) and by readding echo and opost to the tty, we get a functional terminal. (NB: the stty isn't strictly necessary for vim, but does cause a problem if you enter vim and then get to a shell from inside it. So screw it, make it work for interactive shell too via :shell command.)
- Loading branch information
Mike Pountney
committed
May 10, 2016
1 parent
48910ef
commit e1432da
Showing
4 changed files
with
47 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters