From 3c3225377221ec6ed75b86daec947748c86cfec9 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Sun, 24 Apr 2016 16:49:54 -0400 Subject: [PATCH] Fix terminal mode panic --- cmd/micro/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/micro/command.go b/cmd/micro/command.go index 4e3c6ab3..58512ed8 100644 --- a/cmd/micro/command.go +++ b/cmd/micro/command.go @@ -46,6 +46,7 @@ func HandleShellCommand(input string, view *View, openTerm bool) { }() } else { screen.Fini() + screen = nil args := strings.Split(input, " ")[1:]