Lines Matching defs:ns
83 WINDOW *ns = __m_screen->_newscr;
111 (void) memcpy(&ns->_line[ny][nx], &w->_line[wy][wx],
115 if (ns->_first[ny] > nx)
116 ns->_first[ny] = (short) nx;
118 if (ns->_last[ny] < (nx + dx))
119 ns->_last[ny] = (short) (nx + dx);
121 if (!ns->_line[ny][nx]._f) {
127 (void) __m_cc_erase(ns, ny, 0, ny, 0);
134 (void) __m_cc_expand(ns, ny, nx, -1);
138 if (!__m_cc_islast(ns, ny, nx+dx-1)) {
143 if (ns->_maxx <= nx + dx)
144 (void) __m_cc_erase(ns, ny, nx + dx - 1,
151 else if (nx + dx < ns->_maxx)
152 (void) __m_cc_expand(ns, ny,
165 w->_smaxy = ns->_maxy - 1;
166 w->_smaxx = ns->_maxx - 1;
169 ns->_scroll = w->_scroll;
173 ns->_flags &= ~W_LEAVE_CURSOR;
174 ns->_cury = w->_cury + w->_begy;
175 ns->_curx = w->_curx + w->_begx;
177 ns->_flags |= w->_flags &