5
0
mirror of git://git.proxmox.com/git/pve-xtermjs.git synced 2025-03-11 20:58:41 +03:00
Dominik Csapak 154b65d5b9 download and use xterm-addon-webgl as renderer
since xterm.js 5.0.0, the previous default canvas renderer is not
built-in anymore and only recommended as a fallback. The new recommended
renderer is this webgl one, so use it with a fallback to the default
built-in dom renderer (which is slower, but still functional).

to use it we have to load the addon after `terminal.open` so move the
`open` call to before the addon loading. While we're touching that line,
remove the superfluous second 'true' parameter that did not do anything.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-09-26 10:20:11 +02:00
2020-07-23 12:13:31 +02:00
2023-05-23 14:13:00 +02:00
2023-05-23 14:02:48 +02:00
2017-11-28 10:28:46 +01:00

xterm.js webclient and helper utility
=====================================

This repository contains the client and helper utility to use
xterm.js (https://xtermjs.org) for Proxmox VE.

To be able to relay between the gui and a shell program/console,
we need a tool (called termproxy) to open a port (where our websocketproxy
connects to) and to open a pty and execute a program

From Client to Server it implements a simple packet-based protocol:
(everything is a string)

* Normal Message
    0:LENGTH:MSG
    where LENGTH is the bytelength of the msg

* Resize Message
    1:COLS:ROWS:
    where COLS is the number of columns the client wants to resize to,
    and ROWS the number of rows, respectively

* Ping Message
    2
    used to keep the connection between client and server alive
    (we have a timeout of 5 minutes)

every other input from the client will be ignored

From server to client, the data will simply sent, without any
format

Description
No description provided
Readme 2.7 MiB
Languages
Rust 44.7%
JavaScript 27.6%
CSS 16%
Makefile 11.7%