-
Notifications
You must be signed in to change notification settings - Fork 22
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
Output overwritten by carriage return #44
Comments
My output of
|
Possible replacements for blessings which seems to be unmaintained erikrose/blessings#148
|
I'm not sure what you were trying to fix, (maybe you're seeking |
Hi @jquast, we are facing an issue with setting the x location https://github.com/greenbone/autohooks/blob/v2.0.0/autohooks/terminal.py#L61 AND carriage returns. It seems that sometimes the indentation doesn't work with blessings, sometimes all output is writing in one line (the output is overridden with new output) and sometimes both. But we also haven't found a way to reproduce the behavior reliably. On my system the issue just did pop up and after a while mysteriously vanished without changing anything. |
Hi @bjoernricks I think I know your problem(s), on
Does that sound like you? (Using tmux or screen). |
I'm still not sure if I understand your carriage return issue, but, a very simple fix might be to use
edit: actually, I don't think this is your problem -- if |
two more suggestions
unless you're working with 9600bps terminal, just using |
Should be fixed with autohooks 2.1.0 |
Often -- but not always -- the output of
autohooks
is overwritten in my terminal by itself. For example, runningautohooks check
very briefly flashes single lines of text before they are overwritten by the following line. The final line is also overwritten, meaning no output is visible once the command is finished.The behaviour described above is consistent among multiple terminal emulators and shells. However, sometimes the lines are displayed properly and then change back to being overwritten, in the same environment in subsequent runs of
autohooks
.I strongly suspect this is related to erikrose/blessings#146. Capturing the output with
script(1)
does indeed show carriage return control characters (\r
,^M
) being present at the end of every line:The text was updated successfully, but these errors were encountered: