summaryrefslogtreecommitdiff
path: root/src/fe-text/term-terminfo.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-04-21 20:23:17 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-04-21 20:23:17 +0000
commit83ad9855e7a0e743004450734c8d74da0157e16f (patch)
tree42b31f121881d189364a085b826f3f275c367fd8 /src/fe-text/term-terminfo.c
parenta6090c7f8f196f45c6b00d3ff4dde26ec1aee407 (diff)
downloadirssi-83ad9855e7a0e743004450734c8d74da0157e16f.zip
Reindent.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4811 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/term-terminfo.c')
-rw-r--r--src/fe-text/term-terminfo.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c
index c919616c..03087949 100644
--- a/src/fe-text/term-terminfo.c
+++ b/src/fe-text/term-terminfo.c
@@ -373,15 +373,15 @@ void term_addch(TERM_WINDOW *window, char chr)
{
if (vcmove) term_move_real();
- /* With UTF-8, move cursor only if this char is either
- single-byte (8. bit off) or beginning of multibyte
- (7. bit off) */
- if (term_type != TERM_TYPE_UTF8 ||
- (chr & 0x80) == 0 || (chr & 0x40) == 0) {
- term_printed_text(1);
- }
+ /* With UTF-8, move cursor only if this char is either
+ single-byte (8. bit off) or beginning of multibyte
+ (7. bit off) */
+ if (term_type != TERM_TYPE_UTF8 ||
+ (chr & 0x80) == 0 || (chr & 0x40) == 0) {
+ term_printed_text(1);
+ }
- putc(chr, window->term->out);
+ putc(chr, window->term->out);
}
static void term_addch_utf8(TERM_WINDOW *window, unichar chr)
@@ -485,10 +485,10 @@ void term_refresh_thaw(void)
void term_stop(void)
{
- terminfo_stop(current_term);
- kill(getpid(), SIGTSTP);
- terminfo_cont(current_term);
- irssi_redraw();
+ terminfo_stop(current_term);
+ kill(getpid(), SIGTSTP);
+ terminfo_cont(current_term);
+ irssi_redraw();
}
static int input_utf8(const unsigned char *buffer, int size, unichar *result)