handle ratios change at runtime

This commit is contained in:
Gokcehan committed 2016-12-18 22:38:28 +03:00
1 parent ee9d4c9ec4
commit 2085b6d797
2 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ func (e *setExpr) eval(app *app, args []string) {
rats = append(rats, i)
}
gOpts.ratios = rats
app.ui = newUI()
app.ui.wins = getWins()
app.ui.loadFile(app.nav)
default:
msg := fmt.Sprintf("unknown option: %s", e.opt)