mirror of
https://github.com/irssi/irssi.git
synced 2025-04-26 04:51:11 -05:00
Run clang-format
This commit is contained in:
parent
4fa72e857c
commit
2122daa3f3
@ -164,7 +164,7 @@ static void _set_cursor_visible(TERM_REC *term, int set)
|
||||
if ((term)->TI_csr != NULL) \
|
||||
tput(tparm((term)->TI_csr, y1, y2, 0, 0, 0, 0, 0, 0, 0)); \
|
||||
else if ((term)->TI_wind != NULL) \
|
||||
tput(tparm((term)->TI_wind, y1, y2, 0, (term)->width-1, 0, 0, 0, 0, 0));
|
||||
tput(tparm((term)->TI_wind, y1, y2, 0, (term)->width - 1, 0, 0, 0, 0, 0));
|
||||
|
||||
/* Scroll (change_scroll_region+parm_rindex+parm_index / csr+rin+indn) */
|
||||
static void _scroll_region(TERM_REC *term, int y1, int y2, int count)
|
||||
@ -478,7 +478,8 @@ void terminfo_setup_colors(TERM_REC *term, int force)
|
||||
if (term->TI_setaf) {
|
||||
for (i = 0; i < term->TI_colors; i++) {
|
||||
color = i < 16 ? ansitab[i] : i;
|
||||
term->TI_fg[i] = g_strdup(tparm(term->TI_setaf, color, 0, 0, 0, 0, 0, 0, 0, 0));
|
||||
term->TI_fg[i] =
|
||||
g_strdup(tparm(term->TI_setaf, color, 0, 0, 0, 0, 0, 0, 0, 0));
|
||||
}
|
||||
} else if (term->TI_setf) {
|
||||
for (i = 0; i < term->TI_colors; i++)
|
||||
@ -491,7 +492,8 @@ void terminfo_setup_colors(TERM_REC *term, int force)
|
||||
if (term->TI_setab) {
|
||||
for (i = 0; i < term->TI_colors; i++) {
|
||||
color = i < 16 ? ansitab[i] : i;
|
||||
term->TI_bg[i] = g_strdup(tparm(term->TI_setab, color, 0, 0, 0, 0, 0, 0, 0, 0));
|
||||
term->TI_bg[i] =
|
||||
g_strdup(tparm(term->TI_setab, color, 0, 0, 0, 0, 0, 0, 0, 0));
|
||||
}
|
||||
} else if (term->TI_setb) {
|
||||
for (i = 0; i < term->TI_colors; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user