handle resize events properly

This commit is contained in:
Gokcehan committed 2018-04-15 18:18:39 +03:00
1 parent ad4fc51805
commit d608eb4a56
5 files changed
+12 -16

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ func (app *app) runShell(s string, args []string, prefix string) {
app.ui.pause()
defer app.ui.resume()
defer app.nav.renew(app.ui.wins[0].h)
defer app.nav.renew()
case "%":
stdin, err := cmd.StdinPipe()
if err != nil {