Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom startup commands are not truncated at all #51

Open
vilhelmprytz opened this issue Mar 23, 2020 · 0 comments
Open

Custom startup commands are not truncated at all #51

vilhelmprytz opened this issue Mar 23, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@vilhelmprytz
Copy link
Member

vilhelmprytz commented Mar 23, 2020

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.

@vilhelmprytz vilhelmprytz added the bug Something isn't working label Mar 23, 2020
@vilhelmprytz vilhelmprytz changed the title Truncated custom startup command in "wilfred top" is too long Custom startup commands are not truncated at all Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant