diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-04-21 17:32:55 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-04-21 17:32:55 +0000 |
commit | a6090c7f8f196f45c6b00d3ff4dde26ec1aee407 (patch) | |
tree | acc9d1930fe9fbef3209ca4995d42a901c3ac3c0 /src | |
parent | 951a0de7049e832e20c9dab1d1ed699d72b4649e (diff) | |
download | irssi-a6090c7f8f196f45c6b00d3ff4dde26ec1aee407.zip |
Remove no longer needed kludge to inhibit writing in the last cell.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4810 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/term-terminfo.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index 84635d64..c919616c 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -373,7 +373,6 @@ void term_addch(TERM_WINDOW *window, char chr) { if (vcmove) term_move_real(); - if (vcy < term_height-1 || vcx < term_width-1) { /* With UTF-8, move cursor only if this char is either single-byte (8. bit off) or beginning of multibyte (7. bit off) */ @@ -383,7 +382,6 @@ void term_addch(TERM_WINDOW *window, char chr) } putc(chr, window->term->out); - } } static void term_addch_utf8(TERM_WINDOW *window, unichar chr) @@ -399,8 +397,6 @@ static void term_addch_utf8(TERM_WINDOW *window, unichar chr) void term_add_unichar(TERM_WINDOW *window, unichar chr) { if (vcmove) term_move_real(); - if (vcy == term_height-1 && vcx == term_width-1) - return; /* last char in screen */ switch (term_type) { case TERM_TYPE_UTF8: @@ -431,8 +427,6 @@ void term_addstr(TERM_WINDOW *window, const char *str) len = strlen(str); /* FIXME utf8 or big5 */ term_printed_text(len); - if (vcy == term_height && vcx == 0) - len--; fwrite(str, 1, len, window->term->out); } |