-
Notifications
You must be signed in to change notification settings - Fork 15
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
Cannot scroll up after displaying license and error message if I declined #85
Comments
I tested on Linux and scrolling seems fine after declining the license. Let me report back after replicating this issue on Window. |
Tried this out with Powershell and it happens as described, after declining the error message gets duplicated and the current screen gets wiped.. Investigating why |
I have done some experimenting and we the only workaround I could work out is opening a new Does that seem reasonable to you @jkrech ? |
@chaws I am not sure how this could work if I am in a terminal session to the machine? Where would that other window pop up? I think you would need to run the cmd in the same window? |
@jkrech this would only be applied if you're running a GUI. The idea is:
|
I talked to Luis, we both did some research on why scrolling gets messy, but we couldn't find the reason why unfortunately. If I was to guess, it is due to some hidden configuration on the terminal. Note that this does not happen in git-bash. |
Assuming we can rely on the detection of "running with GUI", this makes sense then. But it does not change the problem for the none-GUI mode then, right? |
The interactive-mode detection on cpackget is what it seems the common practice. While it has a false positive on git-bash (hence #95), it shouldn't try to pop up a new window on CI, for instance. This behavior will only be applied on Windows platforms. |
Error message is now a normal info message (eaa7f7e). |
Windows cmd:
cpackget add Arm-Packs::Unity
Pressing key 'd'
I cannot scroll further up. The first line is the E: which also gets duplicated
Note I am not sure I would consider this an error, as the operation selected by the user was executed successfully.
The text was updated successfully, but these errors were encountered: