[GH-ISSUE #231] Single line updates not showing #153

Open
opened 2026-03-03 16:05:41 +03:00 by kerem · 3 comments
Owner

Originally created by @EvertEt on GitHub (Mar 10, 2021).
Original GitHub issue: https://github.com/mthenw/frontail/issues/231

When using the following python script and commands, no updates are printed (no progress dots)

import sys
from time import sleep

sys.stdout.write("starting\n")
while True:
    sys.stdout.write(".")
    sleep(3)
python -u progress.py > test.log
frontail test.log

Is there a way to get these updates to match the tail -F command which does show and update the progress dots line?

Originally created by @EvertEt on GitHub (Mar 10, 2021). Original GitHub issue: https://github.com/mthenw/frontail/issues/231 When using the following python script and commands, no updates are printed (no progress dots) ``` import sys from time import sleep sys.stdout.write("starting\n") while True: sys.stdout.write(".") sleep(3) ``` ``` python -u progress.py > test.log ``` ``` frontail test.log ``` Is there a way to get these updates to match the `tail -F` command which does show and update the progress dots line?
Author
Owner

@mthenw commented on GitHub (Mar 17, 2021):

yeah, the thing is that this script doesn't produce new lines. Frontal doesn't react to those changes.

<!-- gh-comment-id:801158616 --> @mthenw commented on GitHub (Mar 17, 2021): yeah, the thing is that this script doesn't produce new lines. Frontal doesn't react to those changes.
Author
Owner

@EvertEt commented on GitHub (Mar 17, 2021):

Thank you for your response. Is this on purpose? Would there be a way or option to enable this to get closer to the real tail behaviour?

<!-- gh-comment-id:801161193 --> @EvertEt commented on GitHub (Mar 17, 2021): Thank you for your response. Is this on purpose? Would there be a way or option to enable this to get closer to the real tail behaviour?
Author
Owner

@mthenw commented on GitHub (Mar 17, 2021):

It's not on purpose. Assuming that there is always a new line simplifies the implementation. I've never considered changing that behaviour as it would require lots of changes (I guess).

<!-- gh-comment-id:801172927 --> @mthenw commented on GitHub (Mar 17, 2021): It's not on purpose. Assuming that there is always a new line simplifies the implementation. I've never considered changing that behaviour as it would require lots of changes (I guess).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#153
No description provided.