[vte] Fix alternate screen default size, again
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] Fix alternate screen default size, again
- Date: Tue, 25 Aug 2009 22:52:07 +0000 (UTC)
commit 43190598174cfc92e74f72e2c34587ca182c3eae
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue Aug 25 18:17:59 2009 -0400
Fix alternate screen default size, again
src/vte.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 6b5bdb2..1c4d8e1 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7971,7 +7971,7 @@ vte_terminal_init(VteTerminal *terminal)
pvt->screen = &terminal->pvt->alternate_screen;
_vte_terminal_set_default_attributes(terminal);
- pvt->normal_screen.row_data = _vte_ring_new (VTE_SCROLLBACK_INIT);
+ pvt->normal_screen.row_data = _vte_ring_new (terminal->row_count);
pvt->normal_screen.sendrecv_mode = TRUE;
pvt->normal_screen.status_line_contents = g_string_new(NULL);
pvt->screen = &terminal->pvt->normal_screen;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]