mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Remove some dead code in cmd-move-window.c and make a load of local
functions static.
This commit is contained in:
@ -948,13 +948,13 @@ window_copy_key_input(struct window_pane *wp, key_code key)
|
||||
data->searchtype = data->inputtype;
|
||||
data->searchstr = xstrdup(data->inputstr);
|
||||
for (; np != 0; np--)
|
||||
window_copy_search_up(wp, data->inputstr, 0);
|
||||
window_copy_search_up(wp, data->inputstr, 1);
|
||||
break;
|
||||
case WINDOW_COPY_SEARCHDOWN:
|
||||
data->searchtype = data->inputtype;
|
||||
data->searchstr = xstrdup(data->inputstr);
|
||||
for (; np != 0; np--)
|
||||
window_copy_search_down(wp, data->inputstr, 0);
|
||||
window_copy_search_down(wp, data->inputstr, 1);
|
||||
break;
|
||||
case WINDOW_COPY_NAMEDBUFFER:
|
||||
window_copy_copy_selection(wp, data->inputstr);
|
||||
|
Reference in New Issue
Block a user