This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svg viewBox="-186 -46 374 48" width='374' height='48' | |
defs | |
clipPath id="lines" | |
- for i in (0 .. 10) | |
rect x=-300 y=(-47 + i * 5) width=600 height=4 | |
text.main x=0 y=0 text-anchor='middle' font-family='Days One' font-size='64px' letter-spacing='-3.5px' | |
'<tspan clip-path='url(#lines)'>Beam</tspan>works |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useRef } from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { EventEmitter } from 'events'; | |
import { Terminal } from 'xterm'; | |
import { render } from 'ink'; | |
/// <reference types="node" /> | |
import 'xterm/css/xterm.css'; | |
// this spins up Xterm.js, initializes Ink inside it and sets up |
OlderNewer