1 parent
73f990cdb6
commit
b5de2cd666
3 files changed
+3
-7
No files matched your search
@@ -420,10 +420,8 @@ func (e *setExpr) eval(app *app, args []string) {
|
||||
gOpts.timefmt = e.val
|
||||
case "infotimefmtnew":
|
||||
gOpts.infotimefmtnew = e.val
|
||||
gInfotimefmtMaxLen = max(len(gOpts.infotimefmtnew), len(gOpts.infotimefmtold))
|
||||
case "infotimefmtold":
|
||||
gOpts.infotimefmtold = e.val
|
||||
gInfotimefmtMaxLen = max(len(gOpts.infotimefmtnew), len(gOpts.infotimefmtold))
|
||||
case "truncatechar":
|
||||
if runeSliceWidth([]rune(e.val)) != 1 {
|
||||
app.ui.echoerr("truncatechar: value should be a single character")
|
||||
|
||||
Reference in new issue
Block a user