1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 07:01:19 -04:00

fix VNC terminal

This commit is contained in:
2022-03-03 09:42:45 -05:00
parent c2dde042b7
commit 4e32048cca
2 changed files with 5 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ const VNC = ({ server }: VNCProps) => {
const [loaded, setLoaded] = useState(false);
// DOS-style box for text
const terminalRef = useRef<HTMLSpanElement>(null);
const terminalRef = useRef<HTMLPreElement>(null);
// the actual connection and virtual screen (injected by noVNC when it's ready)
const rfbRef = useRef(null);