Skip to content

Strange glitch in terminal #494

@jpolo

Description

@jpolo

What happened:

Warnings seems to break layout, when using --fail-on-eol-found and if there are warnings.

What you expected to happen:

I should be able to see all warnings and the table at the end with the right columns

How to reproduce it (as minimally and precisely as possible):

=> Bug (the table layout is broken)
Image

=> OK (adding -q to remove warnings)
Image

Anything else we need to know?:

  • after the first run, the cli seems always broken (there is always an offset)
  • I am using some zsh-plugins (see below), but xeol is the only cli that seems not to work (all other cli tools with colors and formatting etc are working properly)

Environment:

  • Output of xeol version:
    Application: xeol
    Version: 0.10.2
    BuildDate: 2024-12-27T17:33:13Z
    GitCommit: Homebrew
    GitDescription: Homebrew
    Platform: darwin/arm64
    GoVersion: go1.23.4
    Compiler: gc
    Syft Version: v1.10.0
    Supported DB Schema: 1

  • OS (e.g: cat /etc/os-release or similar):
    OS: macOS 15.3 (24D60)
    Apple M1
    Shell: ZSH + powerlevel10k + some zsh plugins (autocompletion)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions