summaryrefslogtreecommitdiff
path: root/src/fe-text/textbuffer-commands.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2009-01-10 18:38:08 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-01-10 18:38:08 +0000
commit9dcea776a1dd359be200856bd6c959a6d76364ef (patch)
tree10ffeebf312215953cfb671489acd7039e432fe2 /src/fe-text/textbuffer-commands.c
parentb9cbba2ae2601ec2252203afc403728566748f0d (diff)
downloadirssi-9dcea776a1dd359be200856bd6c959a6d76364ef.zip
Remove buggy /scrollback redraw - scrollback_save_formats.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4981 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/textbuffer-commands.c')
-rw-r--r--src/fe-text/textbuffer-commands.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/fe-text/textbuffer-commands.c b/src/fe-text/textbuffer-commands.c
index 8dbc9632..a99b4af4 100644
--- a/src/fe-text/textbuffer-commands.c
+++ b/src/fe-text/textbuffer-commands.c
@@ -29,7 +29,6 @@
#include "printtext.h"
#include "gui-windows.h"
-#include "textbuffer-reformat.h"
/* SYNTAX: CLEAR [-all] [<refnum>] */
static void cmd_clear(const char *data)
@@ -310,26 +309,6 @@ static void cmd_scrollback_end(const char *data)
gui_window_scroll(active_win, view->bottom_subline);
}
-/* SYNTAX: SCROLLBACK REDRAW */
-static void cmd_scrollback_redraw(void)
-{
- GUI_WINDOW_REC *gui;
- LINE_REC *line, *next;
-
- gui = WINDOW_GUI(active_win);
-
- term_refresh_freeze();
- line = textbuffer_view_get_lines(gui->view);
- while (line != NULL) {
- next = line->next;
- textbuffer_reformat_line(active_win, line);
- line = next;
- }
-
- gui_window_redraw(active_win);
- term_refresh_thaw();
-}
-
static void cmd_scrollback_status(void)
{
GSList *tmp;
@@ -385,7 +364,6 @@ void textbuffer_commands_init(void)
command_bind("scrollback goto", NULL, (SIGNAL_FUNC) cmd_scrollback_goto);
command_bind("scrollback home", NULL, (SIGNAL_FUNC) cmd_scrollback_home);
command_bind("scrollback end", NULL, (SIGNAL_FUNC) cmd_scrollback_end);
- command_bind("scrollback redraw", NULL, (SIGNAL_FUNC) cmd_scrollback_redraw);
command_bind("scrollback status", NULL, (SIGNAL_FUNC) cmd_scrollback_status);
command_set_options("clear", "all");
@@ -405,7 +383,6 @@ void textbuffer_commands_deinit(void)
command_unbind("scrollback goto", (SIGNAL_FUNC) cmd_scrollback_goto);
command_unbind("scrollback home", (SIGNAL_FUNC) cmd_scrollback_home);
command_unbind("scrollback end", (SIGNAL_FUNC) cmd_scrollback_end);
- command_unbind("scrollback redraw", (SIGNAL_FUNC) cmd_scrollback_redraw);
command_unbind("scrollback status", (SIGNAL_FUNC) cmd_scrollback_status);
signal_remove("away mode changed", (SIGNAL_FUNC) sig_away_changed);