From 6f0d08f1db6381675eb25aaa90aebcf205a484af Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 27 Oct 2023 09:23:05 +0200 Subject: [PATCH] fonts xterm --- libs/remix-ui/xterm/src/lib/components/remix-ui-xterm.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/remix-ui/xterm/src/lib/components/remix-ui-xterm.tsx b/libs/remix-ui/xterm/src/lib/components/remix-ui-xterm.tsx index 37beefc879..aafc7d2526 100644 --- a/libs/remix-ui/xterm/src/lib/components/remix-ui-xterm.tsx +++ b/libs/remix-ui/xterm/src/lib/components/remix-ui-xterm.tsx @@ -55,6 +55,12 @@ const RemixUiXterm = (props: RemixUiXtermProps) => { addons={[fitAddon]} onResize={onResize} onRender={() => fitAddon.fit()} + options={{ + fontFamily: config.fontFamily, + fontSize: config.fontSize, + letterSpacing: config.letterSpacing, + lineHeight: config.lineHeight, + }} ref={xtermRef} onData={(data) => { send(data, pid)