From 29a56dc530cebfaa0bdbfadd414588704e0fc374 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 18 Sep 2012 15:49:32 -0400 Subject: Fixed incremental find in ncurses. --- core/events.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/events.lua') diff --git a/core/events.lua b/core/events.lua index 3ee2e333..0953f2f1 100644 --- a/core/events.lua +++ b/core/events.lua @@ -67,11 +67,14 @@ local M = {} -- * `ch`: The text character byte. -- @field COMMAND_ENTRY_COMMAND (string) -- Called when a command is entered into the Command Entry. +-- If any handler returns `true`, the Command Entry does not hide +-- automatically. -- Arguments: -- -- * `command`: The command text. -- @field COMMAND_ENTRY_KEYPRESS (string) -- Called when a key is pressed in the Command Entry. +-- If any handler returns `true`, the key is not inserted into the entry. -- Arguments: -- -- * `code`: The key code. @@ -176,6 +179,7 @@ local M = {} -- * `position`: The text position of the release. -- @field KEYPRESS (string) -- Called when a key is pressed. +-- If any handler returns `true`, the key is not inserted into the buffer. -- Arguments: -- -- * `code`: The key code. -- cgit v1.2.3