Add eval command

This commit is contained in:
Zachary Yedidia
2016-09-09 15:54:32 -04:00
parent faafda6b21
commit 922baa930d
4 changed files with 19 additions and 2 deletions

View File

@@ -24,6 +24,10 @@ Here are the possible commands that you can use.
* `show option`: shows the current value of the given option.
* `eval "expression"`: Evaluates a Lua expression. Note that micro will not
print anything so you should use `messenger:Message(...)` to display a
value.
* `run sh-command`: runs the given shell command in the background. The
command's output will be displayed in one line when it finishes running.