91861 / wayst

A simple terminal emulator
MIT License
287 stars 9 forks source link

Issues with scrollback buffer #50

Closed Narrat closed 4 years ago

Narrat commented 4 years ago

Hi While checking if #49 is fixed with a build based on commit baab112 I noticed some strange behaviour with the scrollback buffer? If I run a command which output doesn't fit in the current terminal size, every part which isn't displayed anymore is gone. The stuff that is displayed will move into the scrollback buffer as it should be. Worked with 732deea Hope this explains it. But I will attach some pictures in a few minutes.

Narrat commented 4 years ago

Ah nope. Didn't investigate it enough. Scrollback buffer is only working if I resize the terminal window (e.g. smaller) and I can scroll to every text which isn't displayed. But no new information is added. If the terminal window isn't resized, nothing is put into the scrollback buffer. Or it looks that way

Narrat commented 4 years ago

git bisect blames the fix for #48 (3f9e1a98358f9774648ddbfff1d872ad1b62368a) as the bad commit for this issue

Narrat commented 4 years ago

Thanky you for the quick fix