Change menu contents to be a string (#1954)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-04-07 14:23:25 +10:00
1 parent 6718a36334
commit ffe4c97560
3 files changed
+40 -39

No files matched your search

+5 -5
View File
@@ -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)