mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
related changes to textbuffer update..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1444 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5d5b9cbc28
commit
0cb1752123
4 changed files with 4 additions and 11 deletions
|
|
@ -33,7 +33,6 @@ typedef struct {
|
|||
int level; /* message level */
|
||||
GSList *bound_items; /* list of WINDOW_BIND_RECs */
|
||||
|
||||
int lines;
|
||||
unsigned int sticky_refnum:1;
|
||||
unsigned int destroying:1;
|
||||
|
||||
|
|
|
|||
|
|
@ -573,13 +573,10 @@ void format_newline(WINDOW_REC *window)
|
|||
{
|
||||
g_return_if_fail(window != NULL);
|
||||
|
||||
window->lines++;
|
||||
if (window->lines != 1) {
|
||||
signal_emit_id(signal_gui_print_text, 6, window,
|
||||
GINT_TO_POINTER(-1), GINT_TO_POINTER(-1),
|
||||
GINT_TO_POINTER(PRINTFLAG_NEWLINE),
|
||||
"", GINT_TO_POINTER(-1));
|
||||
}
|
||||
signal_emit_id(signal_gui_print_text, 6, window,
|
||||
GINT_TO_POINTER(-1), GINT_TO_POINTER(-1),
|
||||
GINT_TO_POINTER(PRINTFLAG_NEWLINE),
|
||||
"", GINT_TO_POINTER(-1));
|
||||
}
|
||||
|
||||
/* parse ANSI color string */
|
||||
|
|
|
|||
|
|
@ -377,7 +377,6 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text)
|
|||
msg_beep_check(dest);
|
||||
|
||||
dest->window->last_line = time(NULL);
|
||||
format_newline(dest->window);
|
||||
|
||||
/* add timestamp/server tag here - if it's done in print_line()
|
||||
it would be written to log files too */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue