Move CustomGlyphs.ts into core

This commit is contained in:
Daniel Imms
2022-07-28 04:46:18 -07:00
parent b3cffe2d30
commit ced5c304f1
5 changed files with 3 additions and 649 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright (c) 2018, The xterm.js authors (https://github.com/xtermjs/xterm.js)
Copyright (c) 2017, The xterm.js authors (https://github.com/xtermjs/xterm.js)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@ import { IBufferService, IDecorationService, IOptionsService } from 'common/serv
import { excludeFromContrastRatioDemands, throwIfFalsy } from 'browser/renderer/RendererUtils';
import { channels, color, rgba } from 'common/Color';
import { removeElementFromParent } from 'browser/Dom';
import { tryDrawCustomChar } from './CustomGlyphs';
import { tryDrawCustomChar } from 'browser/renderer/CustomGlyphs';
export abstract class BaseRenderLayer implements IRenderLayer {
private _canvas: HTMLCanvasElement;
File diff suppressed because it is too large Load Diff
@@ -12,7 +12,7 @@ import { IColor } from 'common/Types';
import { IDisposable } from 'xterm';
import { AttributeData } from 'common/buffer/AttributeData';
import { color, rgba } from 'common/Color';
import { tryDrawCustomChar } from '../CustomGlyphs';
import { tryDrawCustomChar } from 'browser/renderer/CustomGlyphs';
import { excludeFromContrastRatioDemands, isPowerlineGlyph } from 'browser/renderer/RendererUtils';
// For debugging purposes, it can be useful to set this to a really tiny value,