rename renew to reload and bind to control-r

Mentioned in #92.
This commit is contained in:
Gokcehan committed 2018-01-29 18:08:51 +03:00
1 parent 80f43fe39c
commit f6cce2d40c
6 files changed
+19 -8

No files matched your search

+2 -2
View File
@@ -332,10 +332,10 @@ func (e *callExpr) eval(app *app, args []string) {
if err := sendRemote("send sync"); err != nil {
app.ui.printf("clear: %s", err)
}
case "renew":
case "reload":
app.ui.sync()
app.ui.renew()
app.nav.renew(app.ui.wins[0].h)
app.nav.reload()
case "read":
app.ui.cmdPrefix = ":"
case "read-shell":