mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-14 07:49:01 +02:00
Free entire screen when destroyed.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: window-scroll.c,v 1.9 2007-11-21 19:53:57 nicm Exp $ */
|
||||
/* $Id: window-scroll.c,v 1.10 2007-11-21 21:28:58 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -95,7 +95,7 @@ window_scroll_draw(struct window *w, struct buffer *b, u_int py, u_int ny)
|
||||
struct screen_draw_ctx ctx;
|
||||
|
||||
if (s->hsize != data->size) {
|
||||
data->ox += s->hsize - data->size;
|
||||
data->oy += s->hsize - data->size;
|
||||
data->size = s->hsize;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user