Increased big text frames to size 6
That's that frames 6 times as big as the TTY are passed at once. This lessens the likelihood of catching a glimpse of unparsed webpage as you're scrolling down quickly.
This commit is contained in:
parent
02bc0aad93
commit
cc23f0ab3e
|
@ -11,16 +11,16 @@ export default class extends utils.mixins(CommonMixin) {
|
||||||
// character.
|
// character.
|
||||||
this._measuring_box_id = 'browsh_em_measuring_box';
|
this._measuring_box_id = 'browsh_em_measuring_box';
|
||||||
|
|
||||||
// TODO: WTF is this magic number?
|
|
||||||
if (TEST) {
|
if (TEST) {
|
||||||
this._char_height_magic_number = 0;
|
this._char_height_magic_number = 0;
|
||||||
} else {
|
} else {
|
||||||
|
// TODO: WTF is this magic number?
|
||||||
this._char_height_magic_number = 4;
|
this._char_height_magic_number = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is the region outside the visible area of the TTY that is pre-parsed and
|
// This is the region outside the visible area of the TTY that is pre-parsed and
|
||||||
// sent to the TTY to be buffered to support faster scrolling.
|
// sent to the TTY to be buffered to support faster scrolling.
|
||||||
this._big_sub_frame_factor = 3;
|
this._big_sub_frame_factor = 6;
|
||||||
|
|
||||||
this.dom = {};
|
this.dom = {};
|
||||||
this.tty = {};
|
this.tty = {};
|
||||||
|
|
Loading…
Reference in a new issue