Skip to content

Brief listing mode: Uneven column widths, unused space #4906

@egmontkob

Description

@egmontkob

Is there an existing issue for this?

  • I have searched the existing issues

Midnight Commander version and build configuration

4.8.33, git

Operating system

Linux

Is this issue reproducible using the latest version of Midnight Commander?

  • I confirm the issue is still reproducible with the latest version of Midnight Commander

How to reproduce

F9 -> Left/Right -> Listing format -> Brief, the more columns the more prominent this becomes.

Resize the terminal window to find a width where the issue is more obvious.

The filenames are restricted to the same number of cells in every column, leaving potentially a lot of empty screen real estate in the last column.

It also looks silly that the } sign denoting that the filename was chopped is not right next to the chopped filename.

(Interstingly, the selected file's background color is applied to the whole width.)

Image

Expected behavior

Distribute the space as evenly as possible, meaning at most 1 difference between columns.

Use all the available space to show the filename.

Actual behavior

.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ttyInteraction with the terminal, screen librariesprio: lowMinor problem or easily worked around

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions