From 77002ebf8b9b984e37e4ad95378537efe5427fec Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 11 Oct 2012 12:22:53 +0200 Subject: [PATCH] tsm: screen: remove obsolete comment We correctly free all new space and this is really needed due to rotations in the active screen and scrollback buffer. Signed-off-by: David Herrmann --- src/tsm_screen.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tsm_screen.c b/src/tsm_screen.c index 90cb353..b89bb10 100644 --- a/src/tsm_screen.c +++ b/src/tsm_screen.c @@ -618,11 +618,6 @@ int tsm_screen_resize(struct tsm_screen *con, unsigned int x, } } - /* When resizing, we need to reset all the new cells, otherwise, the old - * data that was written there will reoccur on the screen. - * TODO: we overwrite way to much here; most of it should already be - * cleaned. Maybe it does more sense cleaning when _allocating_ or when - * _shrinking_, then we never clean twice (for performance reasons). */ for (j = 0; j < con->line_num; ++j) { if (j >= con->size_y) i = 0;