Commit Diff


commit - 092a9f9c956bc6b6f16e7f9897f5bca5e8a400fa
commit + 9d0feb8b5d4a20276efaf3f29df59ade82cd38aa
blob - 3dbe897e48fdd71e921866059a833b96b7777482
blob + 90aaa1e85a54a8310a42a9808b283bd3580d4bda
--- tog/tog.c
+++ tog/tog.c
@@ -1304,6 +1304,8 @@ view_search_start(struct tog_view *view)
 
 	if (view_is_hsplit_top(view))
 		v = view->child;
+	else if (view->mode == TOG_VIEW_SPLIT_VERT && view->parent)
+		v = view->parent;
 
 	mvwaddstr(v->window, v->nlines - 1, 0, "/");
 	wclrtoeol(v->window);