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

Excessive output when terminal isn't tall enough #52

Open
lheckemann opened this issue Feb 1, 2022 · 1 comment
Open

Excessive output when terminal isn't tall enough #52

lheckemann opened this issue Feb 1, 2022 · 1 comment

Comments

@lheckemann
Copy link
Contributor

When too many lines of progress indication are being printed, scrollback will explode. It looks mostly fine if you're not scrolling back:

2022-02-01-082505_screenshot

but if you make the terminal taller or scroll up, you'll see a problem:
2022-02-01-082437_screenshot

This can drown out valuable output from the build phase or similar.

A simple way to reproduce this is to run colmena apply keys with the following hive.nix, in a terminal less than 20 lines tall:

with import <nixpkgs> {};
lib.genAttrs (map (n: "host${toString n}") (lib.range 1 20)) (name: {
  deployment.targetHost = "dummy.invalid";
  boot.isContainer = true;
  deployment.keys.block-deployment = {
    keyCommand = ["sleep" "infinity"];
  };
})
@whentze
Copy link

whentze commented Jul 5, 2022

This issue has apparently been known upstream in indicatif for a while:

console-rs/indicatif#53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants