commit 092a9f9c956bc6b6f16e7f9897f5bca5e8a400fa from: Mark Jamsek date: Tue Dec 27 05:38:00 2022 UTC tog: fix typo that breaks log search when in hsplit Ironically, the typo "blocks" log search when in hsplit because we block input on the wrong view! Pass the proper "v" view to nodelay() calls. ok op@ commit - a5feed5fb64e7964d25144156a6dd0700af84150 commit + 092a9f9c956bc6b6f16e7f9897f5bca5e8a400fa blob - d16e7c64d5614b5a492b3e1f0528b8742b178362 blob + 3dbe897e48fdd71e921866059a833b96b7777482 --- tog/tog.c +++ tog/tog.c @@ -1308,14 +1308,14 @@ view_search_start(struct tog_view *view) mvwaddstr(v->window, v->nlines - 1, 0, "/"); wclrtoeol(v->window); - nodelay(view->window, FALSE); /* block for search term input */ + nodelay(v->window, FALSE); /* block for search term input */ nocbreak(); echo(); ret = wgetnstr(v->window, pattern, sizeof(pattern)); wrefresh(v->window); cbreak(); noecho(); - nodelay(view->window, TRUE); + nodelay(v->window, TRUE); if (ret == ERR) return NULL;