version 1.100, 2016/10/18 08:39:18 |
version 1.101, 2016/12/09 21:39:27 |
|
|
s->cy += ny; |
s->cy += ny; |
} |
} |
|
|
/* Cursor right by nx. */ |
/* Cursor right by nx. */ |
void |
void |
screen_write_cursorright(struct screen_write_ctx *ctx, u_int nx) |
screen_write_cursorright(struct screen_write_ctx *ctx, u_int nx) |
{ |
{ |
|
|
tty_write(tty_cmd_clearstartofline, &ttyctx); |
tty_write(tty_cmd_clearstartofline, &ttyctx); |
} |
} |
|
|
/* Move cursor to px,py. */ |
/* Move cursor to px,py. */ |
void |
void |
screen_write_cursormove(struct screen_write_ctx *ctx, u_int px, u_int py) |
screen_write_cursormove(struct screen_write_ctx *ctx, u_int px, u_int py) |
{ |
{ |
|
|
s->cy = py; |
s->cy = py; |
} |
} |
|
|
/* Reverse index (up with scroll). */ |
/* Reverse index (up with scroll). */ |
void |
void |
screen_write_reverseindex(struct screen_write_ctx *ctx) |
screen_write_reverseindex(struct screen_write_ctx *ctx) |
{ |
{ |