| 301 |
percentile, |
percentile, |
| 302 |
ctx.msg); |
ctx.msg); |
| 303 |
|
|
| 304 |
len = split_line(buffer, SCREEN_COLS, &eol, &display_len); |
len = split_line(buffer, SCREEN_COLS, &eol, &display_len, 1); |
| 305 |
for (; display_len < SCREEN_COLS; display_len++) |
for (; display_len < SCREEN_COLS; display_len++) |
| 306 |
{ |
{ |
| 307 |
buffer[len++] = ' '; |
buffer[len++] = ' '; |
| 518 |
|
|
| 519 |
strncpy(str_left_f, str_left, sizeof(str_left_f) - 1); |
strncpy(str_left_f, str_left, sizeof(str_left_f) - 1); |
| 520 |
str_left_f[sizeof(str_left_f) - 1] = '\0'; |
str_left_f[sizeof(str_left_f) - 1] = '\0'; |
| 521 |
len = split_line(str_left_f, STR_TOP_LEFT_MAX_LEN, &eol, &str_left_len); |
len = split_line(str_left_f, STR_TOP_LEFT_MAX_LEN, &eol, &str_left_len, 1); |
| 522 |
str_left_f[len] = '\0'; |
str_left_f[len] = '\0'; |
| 523 |
|
|
| 524 |
strncpy(str_middle_f, str_middle, sizeof(str_middle_f) - 1); |
strncpy(str_middle_f, str_middle, sizeof(str_middle_f) - 1); |
| 525 |
str_middle_f[sizeof(str_middle_f) - 1] = '\0'; |
str_middle_f[sizeof(str_middle_f) - 1] = '\0'; |
| 526 |
len = split_line(str_middle, STR_TOP_MIDDLE_MAX_LEN, &eol, &str_middle_len); |
len = split_line(str_middle, STR_TOP_MIDDLE_MAX_LEN, &eol, &str_middle_len, 1); |
| 527 |
str_middle_f[len] = '\0'; |
str_middle_f[len] = '\0'; |
| 528 |
|
|
| 529 |
strncpy(str_right_f, str_right, sizeof(str_right_f) - 1); |
strncpy(str_right_f, str_right, sizeof(str_right_f) - 1); |
| 530 |
str_right_f[sizeof(str_right_f) - 1] = '\0'; |
str_right_f[sizeof(str_right_f) - 1] = '\0'; |
| 531 |
len = split_line(str_right, STR_TOP_RIGHT_MAX_LEN, &eol, &str_right_len); |
len = split_line(str_right, STR_TOP_RIGHT_MAX_LEN, &eol, &str_right_len, 1); |
| 532 |
str_right_f[len] = '\0'; |
str_right_f[len] = '\0'; |
| 533 |
|
|
| 534 |
moveto(1, 0); |
moveto(1, 0); |
| 559 |
{ |
{ |
| 560 |
strncpy(msg_f, msg, sizeof(msg_f) - 1); |
strncpy(msg_f, msg, sizeof(msg_f) - 1); |
| 561 |
msg_f[sizeof(msg_f) - 1] = '\0'; |
msg_f[sizeof(msg_f) - 1] = '\0'; |
| 562 |
len = split_line(msg_f, 23, &eol, &msg_len); |
len = split_line(msg_f, 23, &eol, &msg_len, 1); |
| 563 |
msg_f[len] = '\0'; |
msg_f[len] = '\0'; |
| 564 |
} |
} |
| 565 |
|
|