From 5a862695aa8316c3b57e630f0bf3fb85133f2a1d Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Tue, 8 Jun 2010 08:25:19 -0400 Subject: unlimite scrollback instead. --- mt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mt.c') diff --git a/mt.c b/mt.c index 0463494..fb325fa 100644 --- a/mt.c +++ b/mt.c @@ -22,7 +22,7 @@ static gboolean fullscreen; #define get_page_term( sakura, page_idx ) (struct term*)g_object_get_qdata(G_OBJECT( gtk_notebook_get_nth_page( (GtkNotebook*)mt.notebook, page_idx ) ), term_data_id); #define FONT "terminus 9" #define HTTPREGEX "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*" -#define SCROLL 250 +#define SCROLL -1 /*helper function, if i ever need to do something while closing, like query if more than one tab :)*/ @@ -106,7 +106,7 @@ static void tab_focus(GtkNotebook *notebook, GtkNotebookPage *page, guint page_n static void tab_new() { - term *t; + term *t, previous; int *tmp; t = g_new0(term, 1); t->label = gtk_label_new(""); -- cgit v1.2.3