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

How to set unlimited scrollback ? #352

Open
772279 opened this issue Jun 23, 2020 · 2 comments
Open

How to set unlimited scrollback ? #352

772279 opened this issue Jun 23, 2020 · 2 comments

Comments

@772279
Copy link

772279 commented Jun 23, 2020

Currently, one of the commands produces 2K lines to stdout but I have observed that the maximum number of lines in an vterm buffer is 1055. How do I set this to unlimited lines (or at least increase this limit) so that I can go back more in my command output.

@772279
Copy link
Author

772279 commented Jun 23, 2020

I was able to set

(setq vterm-max-scrollback 100000)

and was able to increase the scroll back to 100000. I saw the comment here that we can set the upper limit to more than 100000 by setting SB_MAX and re-compiling it.

I'm leaving the issue open because the ideal behaviour here is to have SB_MAX to the maximum allowed value on the machine and make the user configure it via vterm-max-scrollback in their emacs config.

@772279
Copy link
Author

772279 commented Jun 23, 2020

☝️ Fixes this.

Feel to accept or reject it before closing this ticket if you have any strong opinions.

@akermu

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

No branches or pull requests

1 participant