[vte] Fix initial scrollback size
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] Fix initial scrollback size
- Date: Tue, 8 Sep 2009 06:41:21 +0000 (UTC)
commit 05d1c8b063fb9c601bf20b23475dc395221c8f5b
Author: Behdad Esfahbod <behdad behdad org>
Date: Mon Sep 7 19:55:14 2009 -0400
Fix initial scrollback size
src/vte.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index cba4569..d05688d 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7873,13 +7873,13 @@ vte_terminal_init(VteTerminal *terminal)
pvt->child_exit_status = 0;
/* Initialize the screens and histories. */
- _vte_ring_init (pvt->alternate_screen.row_data, VTE_SCROLLBACK_INIT);
+ _vte_ring_init (pvt->alternate_screen.row_data, terminal->row_count);
pvt->alternate_screen.sendrecv_mode = TRUE;
pvt->alternate_screen.status_line_contents = g_string_new(NULL);
pvt->screen = &terminal->pvt->alternate_screen;
_vte_terminal_set_default_attributes(terminal);
- _vte_ring_init (pvt->normal_screen.row_data, terminal->row_count);
+ _vte_ring_init (pvt->normal_screen.row_data, VTE_SCROLLBACK_INIT);
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]