mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
remove magic numbers
This commit is contained in:
@@ -138,7 +138,7 @@ export class DomRendererRowFactory {
|
||||
*/
|
||||
if (
|
||||
cellAmount
|
||||
&& (isNull || (width === 1 && !isCombined && cc < 1424 && !metrics[cc]))
|
||||
&& (isNull || (width === 1 && !isCombined && cc < metrics.length && !metrics[cc]))
|
||||
&& cell.bg === oldBg && cell.fg === oldFg && cell.extended.ext === oldExt
|
||||
&& !isInSelection
|
||||
&& !isCursorCell
|
||||
@@ -380,7 +380,7 @@ export class DomRendererRowFactory {
|
||||
|
||||
// account first char for later merge if it meets the start conditions
|
||||
if (
|
||||
(isNull || (width === 1 && !isCombined && cc < 1424 && !metrics[cc]))
|
||||
(isNull || (width === 1 && !isCombined && cc < metrics.length && !metrics[cc]))
|
||||
&& !isBoldOrItalic
|
||||
&& !isInSelection
|
||||
&& !isCursorCell
|
||||
|
||||
Reference in New Issue
Block a user