Skip to content

Conversation

Isak05
Copy link
Contributor

@Isak05 Isak05 commented Apr 24, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Other: Replace this with a description of the type of this PR

Description

When a script with tail = true received multiple lines quickly, the ones after the first would get buffered and never displayed.

Also, if the cache started rebuilding right after the first line and the second line was received while doing so, then the second line would't get displayed.

Related Issues & Documents

Fixes #3117

Documentation (check all applicable)

  • This PR requires changes to the Wiki documentation (describe the changes)
  • This PR requires changes to the documentation inside the git repo (please add them to the PR).
  • Does not require documentation changes

@Isak05 Isak05 changed the title fix(script): Receiving multiple lines rapidly only displays first line (#3117) fix(script): Receiving multiple lines rapidly only displays first line Apr 24, 2024
Copy link
Member

@patrick96 patrick96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Please also add a changelog entry. Otherwise, I think this is ready to merge :)

@Isak05 Isak05 requested a review from patrick96 April 28, 2024 14:42
@patrick96 patrick96 added this to the 3.7.2 milestone Apr 28, 2024
@patrick96 patrick96 merged commit 81ea169 into polybar:hotfix/3.7.2 Apr 28, 2024
@patrick96 patrick96 mentioned this pull request Aug 17, 2024
1 task
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

Successfully merging this pull request may close these issues.

2 participants