Fix terminal mode panic

This commit is contained in:
Zachary Yedidia 2016-04-24 16:49:54 -04:00
parent eabf21d3ed
commit 3c32253772

View file

@ -46,6 +46,7 @@ func HandleShellCommand(input string, view *View, openTerm bool) {
}()
} else {
screen.Fini()
screen = nil
args := strings.Split(input, " ")[1:]