mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +09:00
Merge pull request #3023 from dmaluka/timerchan
Rework lua timers and remove lua.Lock
This commit is contained in:
@@ -121,6 +121,11 @@ The packages and functions are listed below (in Go type signatures):
|
||||
current pane is not a BufPane.
|
||||
|
||||
- `CurTab() *Tab`: returns the current tab.
|
||||
|
||||
- `After(t time.Duration, f func())`: run function `f` in the background
|
||||
after time `t` elapses. See https://pkg.go.dev/time#Duration for the
|
||||
usage of `time.Duration`.
|
||||
|
||||
* `micro/config`
|
||||
- `MakeCommand(name string, action func(bp *BufPane, args[]string),
|
||||
completer buffer.Completer)`:
|
||||
|
||||
Reference in New Issue
Block a user