version 1.54, 2012/03/14 23:29:07 |
version 1.55, 2012/03/17 17:36:03 |
|
|
return; |
return; |
} |
} |
|
|
|
/* Initialise the redraw context, saving the last cell. */ |
|
screen_write_initctx(ctx, &ttyctx, 1); |
|
|
/* If in insert mode, make space for the cells. */ |
/* If in insert mode, make space for the cells. */ |
if (s->mode & MODE_INSERT && s->cx <= screen_size_x(s) - width) { |
if ((s->mode & MODE_INSERT) && s->cx <= screen_size_x(s) - width) { |
xx = screen_size_x(s) - s->cx - width; |
xx = screen_size_x(s) - s->cx - width; |
grid_move_cells(s->grid, s->cx + width, s->cx, s->cy, xx); |
grid_move_cells(s->grid, s->cx + width, s->cx, s->cy, xx); |
insert = 1; |
insert = 1; |
|
|
screen_write_linefeed(ctx, 1); |
screen_write_linefeed(ctx, 1); |
s->cx = 0; /* carriage return */ |
s->cx = 0; /* carriage return */ |
} |
} |
|
|
/* Initialise the redraw context, saving the last cell. */ |
|
screen_write_initctx(ctx, &ttyctx, 1); |
|
|
|
/* Sanity checks. */ |
/* Sanity checks. */ |
if (((s->mode & MODE_WRAP) && s->cx > screen_size_x(s) - width) |
if (((s->mode & MODE_WRAP) && s->cx > screen_size_x(s) - width) |