Lines Matching defs:cursor
173 /* Set default cursor style and colour from options. */
179 c = options_get_number(oo, "cursor-colour");
182 c = options_get_number(oo, "cursor-style");
187 /* Set screen cursor style and mode. */
223 /* Set screen cursor colour. */
289 int eat_empty, int cursor)
296 log_debug("%s: new size %ux%u, now %ux%u (cursor %u,%u = %u,%u)",
315 screen_reflow(s, sx, &cx, &cy, cursor);
325 log_debug("%s: cursor finished at %u,%u = %u,%u", __func__, s->cx,
353 * hitting the cursor, then push lines from the top into the history.
486 * Need to include the selection start row, but not the cursor
544 /* cursor (ex) is on the left */
584 screen_reflow(struct screen *s, u_int new_x, u_int *cx, u_int *cy, int cursor)
588 if (cursor) {
590 log_debug("%s: cursor %u,%u is %u,%u", __func__, *cx, *cy, wx,
596 if (cursor) {
598 log_debug("%s: new cursor is %u,%u", __func__, *cx, *cy);
611 screen_alternate_on(struct screen *s, struct grid_cell *gc, int cursor)
622 if (cursor) {
636 screen_alternate_off(struct screen *s, struct grid_cell *gc, int cursor)
648 * Restore the cursor position and cell. This happens even if not
651 if (cursor && s->saved_cx != UINT_MAX && s->saved_cy != UINT_MAX) {