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:
Thomas Buckley-Houston 2018-06-03 20:06:33 +08:00
parent 02bc0aad93
commit cc23f0ab3e

View file

@ -11,16 +11,16 @@ export default class extends utils.mixins(CommonMixin) {
// character.
this._measuring_box_id = 'browsh_em_measuring_box';
// TODO: WTF is this magic number?
if (TEST) {
this._char_height_magic_number = 0;
} else {
// TODO: WTF is this magic number?
this._char_height_magic_number = 4;
}
// 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.
this._big_sub_frame_factor = 3;
this._big_sub_frame_factor = 6;
this.dom = {};
this.tty = {};