Lines Matching defs:mouse_col
2640 int mouse_col = scr->mouse % N_COLS(dconf);
2644 if (mouse_col + dx >= MAXCOL(dconf))
2645 mouse_col = MAXCOL(dconf);
2647 if (mouse_col + dx <= 0)
2648 mouse_col = 0;
2650 mouse_col += dx;
2660 scr->mouse = mouse_row * N_COLS(dconf) + mouse_col;
2741 u_int mouse_col = scr->cpy_end % N_COLS(dconf);
2742 u_int limit = current + (N_COLS(dconf) - mouse_col - 1);
2773 u_int mouse_col = scr->mouse % N_COLS(dconf);
2774 u_int limit = current - mouse_col;