From cc311dcf72be1792da063c10e453cb294fefcc3c Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Mon, 12 Oct 2020 11:51:59 -0400 Subject: Updated LuaDoc for `ui.command_entry.append_history()`. Clarify that it's not normally needed. --- docs/api.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/api.md b/docs/api.md index f3f8b180..9a7bcdb2 100644 --- a/docs/api.md +++ b/docs/api.md @@ -8001,6 +8001,9 @@ The height in pixels of the command entry. Appends the given text to the history for the current or most recent command entry mode. +This should only be called if `ui.command_entry.run()` is called with a keys +table that has a custom binding for the Enter key ('\n'). +Otherwise, history is automatically appended as needed. Parameters: -- cgit v1.2.3