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

nix repl: Only hide the progress bar while waiting for user input #9476

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

alois31
Copy link
Contributor

@alois31 alois31 commented Nov 27, 2023

In commit 0d2163c, the progress bar was hidden in nix repl because of a regression that caused it to interfere with user input. Several users like(d) seeing the progress bar in the repl during builds. Only hiding it while waiting for user input gives us the best of both worlds, so do just that.

Context

Mentioned in #9412.

Priorities

Add 👍 to pull requests you find important.

In commit 0d2163c, the progress bar was hidden
in nix repl because of a regression that caused it to interfere with user
input. Several users like(d) seeing the progress bar in the repl during builds.
Only hiding it while waiting for user input gives us the best of both worlds,
so do just that.
@github-actions github-actions bot added the repl The Read Eval Print Loop, "nix repl" command and debugger label Nov 27, 2023
@edolstra edolstra merged commit 3bebaef into NixOS:master Nov 30, 2023
8 checks passed
tebowy pushed a commit to tebowy/nix that referenced this pull request Jul 11, 2024
nix repl: Only hide the progress bar while waiting for user input

(cherry picked from commit 3bebaef)
Change-Id: Ie7c0db46f7c2cf5f938e66bdd3c31f0b62bdb104
tebowy pushed a commit to tebowy/nix that referenced this pull request Jul 11, 2024
Observed to regress nix repl attrset printing with narrow windows.

This reverts commit a2d5e80.

Fixes: https://git.lix.systems/lix-project/lix/issues/168

Change-Id: I8e0031475b4ec26d6a71014357d973578b70815c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repl The Read Eval Print Loop, "nix repl" command and debugger
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants