]> git.lizzy.rs Git - micro.git/blobdiff - runtime/help/commands.md
Add eval command
[micro.git] / runtime / help / commands.md
index 244b14943eb0e60b21b7ee33de804e2bb4372790..aacbdbb515b8419c7e9e5b1712e9454c570f683d 100644 (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.