aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textadept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 85076391..a4ab9ef6 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -438,6 +438,7 @@ static int focus_find(lua_State *L) {
setCDKEntryPostProcess(find_entry, find_keypress, NULL);
char *clipboard = scintilla_get_clipboard(focused_view, NULL);
GPasteBuffer = copyChar(clipboard); // set the CDK paste buffer
+ curs_set(1); // ensure visible, even if cursor is out of view in focused_view
refreshCDKScreen(findbox), activateCDKEntry(focused_entry = find_entry, NULL);
while (focused_entry->exitType == vNORMAL || focused_entry->exitType == vNEVER_ACTIVATED) {
copyfree(&find_text, getCDKEntryValue(find_entry));