Hyper: Create options around scrollback buffer

Created on 19 Jul 2016  路  19Comments  路  Source: vercel/hyper

Easy way to crash Hyperterm:

find /

Since there's unlimited scrollback buffer, memory just keeps getting eaten especially if you're tailing logs or catting large logfiles. It would probably solve the issue if there was an option to limit scrollback (check out iTerm2's options around this)

good first issue help wanted High Feature Request

Most helpful comment

Is there any way to set the scrollback buffer size / scrollback lines in hyper ? I am running into an issue with hyper 2.0.4 where I can only scroll a few hundred lines at most, but I would really like to be able to scroll back through my terminal output much further than this.

All 19 comments

This is a hterm issue that is described at https://crbug.com/220406.

I would need to play with this. How far in the scroll back Iterm2's handle ? @chiefy

@ppot iTerm's scrollback buffer is configurable by numbers of lines or "unlimited"

It would also be useful to disable the buffer entirely (as I do in OS X Terminal), so I can use tmux instead for scrollback.

@cavaliercoder maybe hyperterm-alternatescroll can help ?

Is there any way to set the scrollback buffer size / scrollback lines in hyper ? I am running into an issue with hyper 2.0.4 where I can only scroll a few hundred lines at most, but I would really like to be able to scroll back through my terminal output much further than this.

Is there any update on this? The current size of scrollback buffer is not really sufficient...

We need to use xtermjs scrollback option: https://github.com/xtermjs/xterm.js/blob/a3ce881897818d1c61476620e7d037717ca9a68f/src/Terminal.ts#L113

Pretty easy to implement and very useful.

Closed #3056 as #3038 already exists and pending review by @chabou.

This can close, #3038 has been merged.

Thanks for the help @chhschou 馃帀

So? What is the option and what kind of values does it take?

@jorisw It's documented here: https://hyper.is/#cfg
image

Is it possible to disable it completely? Terminal.app has this mode called "as much as my memory allows".

And I am quite used to it. So, setting any kind of scrollback numbers is not the same.

Shouldn't it load from HISTSIZE environmental variable as I think all terminals do?

I've got:

HISTFILESIZE==32768
HISTSIZE=10000

but it's all ignored.

"The value of the HISTSIZE shell variable is used as the number of commands to save in a history list" - https://www.gnu.org/software/bash/manual/html_node/Bash-History-Facilities.html

Seems like that's more your prior shell commands, which is different from the number of rows of output in a terminal.

I would also like unlimited.

So how to have unlimited scroll?
scrollback: 0, -1, or ..?

So how to have unlimited scroll?
scrollback: 0, -1, or ..?

I'm interested in that too! Any feedback please?
Thanks

Same here, any way to have it unlimited?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eoinmurray picture eoinmurray  路  3Comments

yvan-sraka picture yvan-sraka  路  3Comments

hxnt picture hxnt  路  3Comments

juicygoose picture juicygoose  路  3Comments

cilice picture cilice  路  3Comments