Skip to content

Commit 4629378

Browse files
committed
Updated documentation.
1 parent 0980b96 commit 4629378

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ from that module are separate from this module's completions.
2424

2525
Lines may be optionally prefixed with '=' (similar to the Lua prompt) to print a result.
2626

27+
<a id="lua_repl.clear_history"></a>
28+
## `lua_repl.clear_history`()
29+
30+
Clears the command history.
31+
2732
<a id="lua_repl.cycle_history_next"></a>
2833
## `lua_repl.cycle_history_next`()
2934

@@ -41,16 +46,6 @@ Evaluates as Lua code the current line or the text on the currently selected lin
4146

4247
If the current line has a syntax error, it is ignored and treated as a line continuation.
4348

44-
<a id="lua_repl.history"></a>
45-
## `lua_repl.history`
46-
47-
Lua command history.
48-
49-
It has a numeric `pos` field that indicates where in the history the user currently is.
50-
51-
Fields:
52-
- `pos`:
53-
5449
<a id="lua_repl.keys"></a>
5550
## `lua_repl.keys`
5651

0 commit comments

Comments
 (0)