Skip to content
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

Support to trim old lines in view #103

Open
kaoet opened this issue Mar 23, 2017 · 4 comments
Open

Support to trim old lines in view #103

kaoet opened this issue Mar 23, 2017 · 4 comments

Comments

@kaoet
Copy link

kaoet commented Mar 23, 2017

The current implementation of View cannot be used as a log output window. Because such window produces thousands of lines per second. And finally leads to OOM because old lines are not clear out of memory.

View should support something like 'max lines` just like all terminal emulators. Old lines should be removed from the internal buffer.

@awnumar
Copy link

awnumar commented Mar 23, 2017

I agree with this. +1

@lesovsky
Copy link

Is there any plans to implement this feature?

@mjarkk
Copy link

mjarkk commented Jul 26, 2019

@lesovsky someone made an issue about this at awesome-gocui/gocui and it seems like this will be implemented.
Ow our fork is a community driven fork that aims to start working on gocui actively again.

@lesovsky
Copy link

@mjarkk thanks
I also found that project and tracking it permanently. It seems I will switch to using fork in lesovsky/pgcenter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants