commit 15148a5e6de8b37a245a0682289f5c0ba0d05b53
parent 7d9ad31cd96cd414d76031d027ee1e194a599858
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 1 Sep 2019 16:10:17 +0200
search: after search-at-startup, store the column (for vertical movement)
This fixes https://savannah.gnu.org/bugs/?56846.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/nano.c b/src/nano.c
@@ -2636,6 +2636,7 @@ int main(int argc, char **argv)
not_found_msg(searchstring);
else if (lastmessage == HUSH)
wipe_statusbar();
+ openfile->placewewant = xplustabs();
if (ISSET(USE_REGEXP))
tidy_up_after_search();
free(last_search);