Skip to content

Custom startup commands are not truncated at all #51

@vilhelmprytz

Description

@vilhelmprytz

Environment

  • Installation type: snap/pip
  • Python version: 3.6.9 (should affect all)
  • Wilfred version: v0.5.1 (should affect all releases with wilfred top)

Steps to Reproduce

Set a long startup command. Run wilfred top. Resize your terminal width so that Wilfred should start truncating the long startup command. Also, try running wilfred servers and the same problem will occur.

Expected Behavior

The length of the startup command should not be so long that the server line continues on the next line.

Observed Behavior

The truncation is not aggressive enough, a line break is inserted which makes the whole formatting of wilfred top look off if you have several servers running.

Update: since v0.7.1 this seems to not truncate at all.

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