Skip to content

suggestion: --force-(component) to force component displaying #32

Description

@Matars

same way that --no-(component) force hides, --force-(component) should force render.

I think these two working together can give lots of power to the user - especially when there is automatic layouting based on terminal size.

Activity

  1. Zeviraty commented on Oct 21, 2025

    @Zeviraty
    Contributor

    But how should you handle it if the terminal isnt big enough to show the component?

  2. Matars commented on Oct 21, 2025

    @Matars
    OwnerAuthor

    based on terminal size.

    There are three different layouts

    layouts = ['full', 'compact', 'minimal']

    based on the terminals height and width I try to guess best option - however its not always great.

    I will be creating docs regarding the auto layout, its limitations and hardcoded values.
    I really like the auto layouting however some edge cases are annoying (that's why --no- and --force- are helpful)

  3. Zeviraty commented on Oct 21, 2025

    @Zeviraty
    Contributor

    but if you --force-(insert every component here) and the terminal is too small what will happen?

  4. Matars commented on Oct 21, 2025

    @Matars
    OwnerAuthor

    overflow, however it give you ability to force when it thinks there is an overflow but actually there is space.

    --force and --no of course cannot be called together on the same component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions