mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 10:33:09 +01:00
I'm an idiot - it is start,len not start,end. Unbreak.
This commit is contained in:
parent
0f403474aa
commit
0591d9ff12
@ -1,4 +1,4 @@
|
||||
/* $Id: screen-redraw.c,v 1.6 2008-06-14 16:47:20 nicm Exp $ */
|
||||
/* $Id: screen-redraw.c,v 1.7 2008-06-14 18:38:55 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -181,12 +181,12 @@ screen_redraw_area(
|
||||
void
|
||||
screen_redraw_lines(struct screen_redraw_ctx *ctx, u_int py, u_int ny)
|
||||
{
|
||||
screen_redraw_area(ctx, 0, py, screen_size_x(ctx->s), py + ny);
|
||||
screen_redraw_area(ctx, 0, py, screen_size_x(ctx->s), ny);
|
||||
}
|
||||
|
||||
/* Draw set of columns. */
|
||||
void
|
||||
screen_redraw_columns(struct screen_redraw_ctx *ctx, u_int px, u_int nx)
|
||||
{
|
||||
screen_redraw_area(ctx, px, 0, px + nx, screen_size_y(ctx->s));
|
||||
screen_redraw_area(ctx, px, 0, nx, screen_size_y(ctx->s));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user