mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-22 18:14:09 +00:00
parent
27169b7c07
commit
b27f3bacc0
1 changed files with 10 additions and 0 deletions
|
|
@ -1054,6 +1054,11 @@ window_copy_search_up(struct window_pane *wp, const char *searchstr)
|
|||
int n, wrapped, wrapflag, cis;
|
||||
const char *ptr;
|
||||
|
||||
#ifdef TMATE
|
||||
if (!searchstr)
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (*searchstr == '\0')
|
||||
return;
|
||||
wrapflag = options_get_number(wp->window->options, "wrap-search");
|
||||
|
|
@ -1120,6 +1125,11 @@ window_copy_search_down(struct window_pane *wp, const char *searchstr)
|
|||
int n, wrapped, wrapflag, cis;
|
||||
const char *ptr;
|
||||
|
||||
#ifdef TMATE
|
||||
if (!searchstr)
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (*searchstr == '\0')
|
||||
return;
|
||||
wrapflag = options_get_number(wp->window->options, "wrap-search");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue