version 1.104, 2014/04/03 08:20:29 |
version 1.105, 2014/04/11 19:35:54 |
|
|
screen_write_puts(ctx, &gc, "%s", hdr); |
screen_write_puts(ctx, &gc, "%s", hdr); |
} else if (py == last && data->inputtype != WINDOW_COPY_OFF) { |
} else if (py == last && data->inputtype != WINDOW_COPY_OFF) { |
limit = sizeof hdr; |
limit = sizeof hdr; |
if (limit > screen_size_x(s)) |
if (limit > screen_size_x(s) + 1) |
limit = screen_size_x(s); |
limit = screen_size_x(s) + 1; |
if (data->inputtype == WINDOW_COPY_NUMERICPREFIX) { |
if (data->inputtype == WINDOW_COPY_NUMERICPREFIX) { |
xoff = size = xsnprintf(hdr, limit, |
xoff = size = xsnprintf(hdr, limit, |
"Repeat: %u", data->numprefix); |
"Repeat: %u", data->numprefix); |
|
|
} else |
} else |
size = 0; |
size = 0; |
|
|
screen_write_cursormove(ctx, xoff, py); |
if (size < screen_size_x(s)) { |
screen_write_copy(ctx, data->backing, xoff, |
screen_write_cursormove(ctx, xoff, py); |
(screen_hsize(data->backing) - data->oy) + py, |
screen_write_copy(ctx, data->backing, xoff, |
screen_size_x(s) - size, 1); |
(screen_hsize(data->backing) - data->oy) + py, |
|
screen_size_x(s) - size, 1); |
|
} |
|
|
if (py == data->cy && data->cx == screen_size_x(s)) { |
if (py == data->cy && data->cx == screen_size_x(s)) { |
memcpy(&gc, &grid_default_cell, sizeof gc); |
memcpy(&gc, &grid_default_cell, sizeof gc); |