1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-07-05 16:37:38 -04:00

Fix cursor location redrawing in incremental search (¨XS): backtracking using backspace/rubout over several forward-search (^S).

This commit is contained in:
Renaud 2025-04-26 11:33:24 +08:00
parent e4021d7780
commit 9562b0a2e8

View File

@ -263,6 +263,7 @@ static BINDABLE( isearch) {
cmd_buff[--cmd_offset] = '\0'; /* Yes, delete last char */
curwp->w_dotp = curline; /* Reset the line pointer */
curwp->w_doto = curoff; /* and the offset */
curwp->w_flag |= WFMOVE ; /* Say we've moved */
n = init_direction; /* Reset the search direction */
mystrscpy( pat, pat_save, sizeof pat) ; /* Restore the old search str */
cmd_reexecute = 0; /* Start the whole mess over */