Skip to content

limactl list: dynamically reduces the column, depending on the terminal width #1204

@AkihiroSuda

Description

@AkihiroSuda

We are going to have too many columns:

$ limactl ls
NAME       STATUS     SSH            VM TYPE    ARCH      CPUS    MEMORY    DISK      DIR
default    Stopped    127.0.0.1:0    qemu       x86_64    4       4GiB      100GiB    /Users/suda/.lima/default
vz         Stopped    127.0.0.1:0    vz         x86_64    4       4GiB      100GiB    /Users/suda/.lima/vz

When the terminal is small, some columns (especially "DIR") can be just hidden.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions