diff --git a/lib/widget/gauge.c b/lib/widget/gauge.c
index 1c7355c..9da2694 100644
a
|
b
|
|
50 | 50 | /*** file scope macro definitions ****************************************************************/ |
51 | 51 | |
52 | 52 | /* Currently width is hardcoded here for text mode */ |
53 | | #define gauge_len 47 |
| 53 | #define gauge_len COLS-20 |
54 | 54 | |
55 | 55 | /*** file scope type declarations ****************************************************************/ |
56 | 56 | |
diff --git a/src/filemanager/filegui.c b/src/filemanager/filegui.c
index cd4019f..91f71b9 100644
a
|
b
|
int classic_progressbar = 1; |
197 | 197 | /* Hack: the vfs code should not rely on this */ |
198 | 198 | #define WITH_FULL_PATHS 1 |
199 | 199 | |
200 | | #define truncFileString(ui, s) str_trunc (s, 52) |
201 | | #define truncFileStringSecure(ui, s) path_trunc (s, 52) |
| 200 | #define truncFileString(ui, s) str_trunc (s, COLS-30) |
| 201 | #define truncFileStringSecure(ui, s) path_trunc (s, COLS-30) |
202 | 202 | |
203 | 203 | /*** file scope type declarations ****************************************************************/ |
204 | 204 | |
… |
… |
file_op_context_create_ui_without_init (FileOpContext * ctx, gboolean with_eta, |
655 | 655 | skip_button_width = str_term_width1 (skip_button_label) + 3; |
656 | 656 | buttons_width = abort_button_width + skip_button_width + 1; |
657 | 657 | |
658 | | dlg_width = max (58, buttons_width + 6); |
| 658 | dlg_width = max (COLS - 8, buttons_width + 6); |
659 | 659 | dlg_height = 17; /* will be adjusted later */ |
660 | 660 | |
661 | 661 | ui = g_new0 (FileOpContextUI, 1); |