Change menu contents to be a string (#1954)
This commit is contained in:
1 parent
6718a36334
commit
ffe4c97560
3 files changed
+40
-39
No files matched your search
@@ -547,11 +547,11 @@ func (app *app) runShell(s string, args []string, prefix string) {
|
||||
exportOpts()
|
||||
|
||||
gState.mutex.Lock()
|
||||
gState.data["maps"] = listBinds(gOpts.keys).String()
|
||||
gState.data["cmaps"] = listBinds(gOpts.cmdkeys).String()
|
||||
gState.data["cmds"] = listCmds().String()
|
||||
gState.data["jumps"] = listJumps(app.nav.jumpList, app.nav.jumpListInd).String()
|
||||
gState.data["history"] = listHistory(app.cmdHistory).String()
|
||||
gState.data["maps"] = listBinds(gOpts.keys)
|
||||
gState.data["cmaps"] = listBinds(gOpts.cmdkeys)
|
||||
gState.data["cmds"] = listCmds()
|
||||
gState.data["jumps"] = listJumps(app.nav.jumpList, app.nav.jumpListInd)
|
||||
gState.data["history"] = listHistory(app.cmdHistory)
|
||||
gState.mutex.Unlock()
|
||||
|
||||
cmd := shellCommand(s, args)
|
||||
|
||||
Reference in new issue
Block a user