Use six character width cyan rectangles for bottom row's buttons.
diff -Naur mc-4.6.2.orig/src/widget.c mc-4.6.2/src/widget.c
old
|
new
|
|
2595 | 2595 | attrset (DEFAULT_COLOR); |
2596 | 2596 | tty_printf ("%-*s", bb->widget.cols, ""); |
2597 | 2597 | for (i = 0; i < COLS / 8 && i < 10; i++) { |
| 2598 | int j; |
2598 | 2599 | widget_move (&bb->widget, 0, i * 8); |
2599 | 2600 | attrset (DEFAULT_COLOR); |
2600 | 2601 | tty_printf ("%d", i + 1); |
2601 | 2602 | attrset (SELECTED_COLOR); |
2602 | | tty_printf ("%-*s", ((i + 1) * 8 == COLS ? 5 : 6), |
| 2603 | j = columns_to_bytes(bb->labels[i].text ? bb->labels[i].text : "", |
| 2604 | ((i + 1) * 8 == COLS ? 5 : 6)); |
| 2605 | tty_printf ("%-*s", j, |
2603 | 2606 | bb->labels[i].text ? bb->labels[i].text : ""); |
2604 | 2607 | attrset (DEFAULT_COLOR); |
2605 | 2608 | } |