Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Mar 7, 2024
1 parent f28239e commit f9c6d26
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Empty file modified Macros/scripts/Shell/macrotest.lua
100755 → 100644
Empty file.
Empty file modified Macros/scripts/Shell/time.lua
100755 → 100644
Empty file.
3 changes: 1 addition & 2 deletions Macros/scripts/Third_party/bito.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ local function bito (prompt)
fp:write(ctx=="" and " " or ctx)
fp:close()
local cmd = ('bito -c "%s" -f "%s" -p "%s"'):format(ctxName, fileName, promptName)
local flags = F.EF_NONMODAL +F.EF_IMMEDIATERETURN +F.EF_DELETEONLYFILEONCLOSE +F.EF_OPENMODE_USEEXISTING
+F.EF_DISABLEHISTORY
local flags = F.EF_NONMODAL +F.EF_IMMEDIATERETURN +F.EF_OPENMODE_USEEXISTING +F.EF_DISABLEHISTORY
editor.Editor("bito.md", nil, nil, nil, nil, nil, flags, nil, nil, 65001)
local wi = far.AdvControl(F.ACTL_GETWINDOWINFO)
assert(wi.Type==F.WTYPE_EDITOR, "oops, editor has not been opened")
Expand Down

0 comments on commit f9c6d26

Please sign in to comment.