Home
last modified time | relevance | path

Searched refs:selwin (Results 1 – 7 of 7) sorted by relevance

/original-bsd/usr.bin/window/
H A Dcmd.c53 if (selwin == 0) { in docmd()
132 wwscroll(selwin, selwin->ww_w.nr / 2); in docmd()
135 wwscroll(selwin, - selwin->ww_w.nr / 2); in docmd()
138 wwscroll(selwin, selwin->ww_w.nr); in docmd()
141 wwscroll(selwin, - selwin->ww_w.nr); in docmd()
144 stopwin(selwin); in docmd()
209 w = selwin; in getwin()
235 if (selwin != 0)
243 if (selwin != 0)
268 if (selwin == w)
[all …]
H A Dwin.c100 if ((w = window[i]) != 0 && w != selwin && in findselwin()
127 if (selwin == 0)
133 if (lastselwin == 0 && selwin)
177 if (w == selwin)
178 selwin = 0;
222 wwadd(w, selwin != 0 && selwin != w && !isfg(selwin)
223 ? selwin : fgwin);
252 int mode = w == selwin ? WWM_REV : 0;
H A Dcmd7.c74 struct ww *w = selwin; in c_yank()
149 struct ww *w = selwin; in yank_highlight()
172 struct ww *w = selwin; in yank_highlight_line()
219 nl = cend == selwin->ww_b.r; in yank_line()
220 bp = selwin->ww_buf[r]; in yank_line()
244 (void) write(selwin->ww_pty, yp->line, yp->length); in c_put()
H A Dlcmd1.c123 if ((w = vtowin(a++, selwin)) == 0)
153 v->v_num = selwin ? selwin->ww_id + 1 : -1;
208 if ((w = vtowin(a, selwin)) == 0)
227 if ((w = vtowin(a, selwin)) == 0)
282 if ((w = vtowin(a++, selwin)) == 0)
H A Ddefs.h21 struct ww *selwin; /* the selected window */ variable
H A Dmain.c161 if (selwin != 0)
H A Dlcmd2.c177 wp == selwin ? '+' : (wp == lastselwin ? '-' : ' '),
359 if ((w = vtowin(a++, selwin)) == 0)