Re: using "alt-t" to switch to single-panel mode



On 2017-06-08 20:08, Mooffie wrote:

Open src/filemanager/panel.c and search for " % ".

did you mean this section of  src/filemanager/panel.c ?

1860:     /* Expand the available space */
1861:     if ((usable_columns > total_cols) && expand_top)
1862:     {
1863:         int spaces = (usable_columns - total_cols) / expand_top;
1864:         int extra = (usable_columns - total_cols) % expand_top;
1865:
1866:         for (i = 0, darr = home; darr && (i < expand_top); darr =
darr->next)
1867:             if (darr->expand)
1868:             {
1869:                 darr->field_len += (spaces + ((i == 0) ? extra : 0));
1870:                 i++;
1871:             }
1872:     }
1873:     return home;
1874: }

Or, since you're comfortable with compiling, use mc^2. This snippet
does what you want: https://pastebin.com/U3QV550k .

I cannot use mc^2
I would like to fix this in mc

thanks,
Karel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]