crt stretch
This commit is contained in:
parent
7c1285fdfa
commit
507becd490
1 changed files with 2 additions and 1 deletions
|
|
@ -70,6 +70,8 @@ HTML_PAGE = """<!DOCTYPE html>
|
||||||
border: 1px solid #2b2b2b;
|
border: 1px solid #2b2b2b;
|
||||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
|
transform-origin: top center;
|
||||||
|
transform: scaleY(1.2);
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
#terminal .xterm {
|
#terminal .xterm {
|
||||||
|
|
@ -163,7 +165,6 @@ HTML_PAGE = """<!DOCTYPE html>
|
||||||
await waitForDosvgaFont();
|
await waitForDosvgaFont();
|
||||||
|
|
||||||
const term = new Terminal({
|
const term = new Terminal({
|
||||||
rendererType: "canvas",
|
|
||||||
cursorBlink: true,
|
cursorBlink: true,
|
||||||
convertEol: true,
|
convertEol: true,
|
||||||
fontFamily: "DOSVGA, Fira Code, Cascadia Mono, Hack, monospace",
|
fontFamily: "DOSVGA, Fira Code, Cascadia Mono, Hack, monospace",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue