mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
add more
This commit is contained in:
@@ -310,11 +310,11 @@ export const chars: { [index: string]: string } = {
|
||||
'╈': `${yAxis}${THICK} ${xAxis}`,
|
||||
'╉': `${yAxis}${THICK} ${leftMiddleXAxis}${THICK} ${rightMiddleXAxis}`,
|
||||
'╊': `${yAxis} ${leftMiddleXAxis} ${rightMiddleXAxis}${THICK}`,
|
||||
'╋': `${yAxis}${THICK} ${xAxis}${THICK}`
|
||||
// '╌': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╍': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╎': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╏': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
'╋': `${yAxis}${THICK} ${xAxis}${THICK}`,
|
||||
'╌': `${MOVE}${LEFT.MIDDLE} ${TO}${'.4,.5'} ${MOVE}${'.6,.5'} ${TO}${RIGHT.MIDDLE}`,
|
||||
'╍': `${MOVE}${LEFT.MIDDLE} ${TO}${'.4,.5'}${THICK} ${MOVE}${'.6,.5'} ${TO}${RIGHT.MIDDLE}${THICK}`,
|
||||
'╎':`${MOVE}${CENTER.BOTTOM} ${TO}${'.5,.3'} ${MOVE}${'.5,.7'} ${TO}${CENTER.TOP}`,
|
||||
'╏':`${MOVE}${CENTER.BOTTOM} ${TO}${'.5,.3'}${THICK} ${MOVE}${'.5,.7'} ${TO}${CENTER.TOP}${THICK}`,
|
||||
// '═': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '║': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╒': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
@@ -351,18 +351,18 @@ export const chars: { [index: string]: string } = {
|
||||
// '╱': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╲': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╳': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╴': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╵': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╶': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╷': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╸': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╹': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╺': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╻': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╼': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╽': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╾': `${MOVE}${} ${TO}${} ${TO}${}`,
|
||||
// '╿': `${MOVE}${} ${TO}${} ${TO}${}`
|
||||
'╴': `${leftMiddleXAxis}`,
|
||||
'╵': `${topYAxisFromMiddle}`,
|
||||
'╶': `${rightMiddleXAxis}`,
|
||||
'╷': `${bottomYAxisFromMiddle}`,
|
||||
'╸': `${leftMiddleXAxis}${THICK}`,
|
||||
'╹': `${topYAxisFromMiddle}${THICK}`,
|
||||
'╺': `${rightMiddleXAxis}${THICK}`,
|
||||
'╻': `${bottomYAxisFromMiddle}${THICK}`,
|
||||
'╼': `${leftMiddleXAxis} ${rightMiddleXAxis}${THICK}`,
|
||||
'╽': `${bottomYAxisFromBottom}${THICK} ${topYAxisFromMiddle}`,
|
||||
'╾': `${leftMiddleXAxis}${THICK} ${rightMiddleXAxis}`,
|
||||
'╿': `${bottomYAxisFromBottom} ${topYAxisFromMiddle}${THICK}`
|
||||
};
|
||||
|
||||
export function draw(ctx: CanvasRenderingContext2D, c: string, xOffset: number, yOffset: number, cellWidth: number, cellHeight: number): void {
|
||||
|
||||
@@ -151,10 +151,12 @@ export abstract class CoreTerminal extends Disposable implements ICoreTerminal {
|
||||
this.write(' ━━│┃┌┍┎┏\r\n');
|
||||
this.write(' ━━│┃┌┐┍┑┎┒┏┓\r\n');
|
||||
this.write(' └┘┕┙┖┚┗┛\r\n');
|
||||
this.write('├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋╌╍╎╏═║╒╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡╢╣╤╥╦╧╨╩╪╫╬╭╮╯╰╱╲╳╴╵╶╷╸╹╺╻╼╽╾╿\r\n');
|
||||
this.write('├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋ ╌ ╍╎╏═║╒╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡╢╣╤╥╦╧╨╩╪╫╬\r\n');
|
||||
this.write('╭╮╯╰╱╲╳╴╵╶╷╸╹╺╻╼╽╾╿\r\n');
|
||||
this.write('├ ┝ ┞ ┟ ┠ ┡ ┢ ┣ ┤ ┥ ┦ ┧ ┨ ┩ ┪ ┫ ┬ ┭ ┮ ┯ ┰ ┱ ┲ ┳ ┴ ┵ ┶ ┷ ┸ ┹ ┺ ┻\r\n');
|
||||
this.write('┼ ┽ ┾ ┿ ╀ ╁ ╂ ╃ ╄ ╅ ╆ ╇ ╈ ╉ ╊ ╋\r\n');
|
||||
this.write('╌ ╍ ╎ ╏ ═ ║ ╒ ╓ ╔ ╕ ╖ ╗ ╘ ╙ ╚ ╛ ╜ ╝ ╞ ╟ ╠ ╡ ╢ ╣ ╤ ╥ ╦ ╧ ╨ ╩ ╪ ╫ ╬ ╭ ╮ ╯ ╰ ╱ ╲ ╳ ╴ ╵ ╶ ╷ ╸ ╹ ╺ ╻ ╼ ╽ ╾ ╿\r\n');
|
||||
this.write(' ╌ ╍ ╎ ╏ ═ ║ ╒ ╓ ╔ ╕ ╖ ╗ ╘ ╙ ╚ ╛ ╜ ╝ ╞ ╟ ╠ ╡ ╢ ╣ ╤ ╥ ╦ ╧ ╨ ╩ ╪ ╫ ╬\r\n');
|
||||
this.write('╭ ╮ ╯ ╰ ╱ ╲ ╳ ╴ ╵ ╶ ╷ ╸ ╹ ╺ ╻ ╼ ╽ ╾ ╿\r\n');
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user