Skip to content

Auto-reloading UI causes gaps in scrollback / shell history #2810

Description

@pfaffle

Describe the bug
When the background auto-reloading feature is enabled, when I reach a certain amount of scrollback / history in my terminal some of the output (NOT the oldest) is lost.

I noticed it when running terraform plans with a lot of plan output, but can reproduce it with a bash shell script that just outputs a lot of lines of text.

To reproduce
I wrote a simple shell script:

#!/bin/bash
for i in {1..2000}; do
  echo "$i"
done

If I enter a devenv shell and run that shell script, if I scroll up through the output, I can see that chunks of it are missing:

...
1525
1526
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
...

If I run devenv shell --no-reload I don't see this issue.

Version
devenv 2.1.0 (aarch64-darwin)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions