Commit Graph

87 Commits

Author SHA1 Message Date
Eli Bosley
9c87671cca html: add closeOnDisconnect option 2025-01-29 19:21:14 +08:00
Shuanglei Tao
b1eaaee2ca html: add xterm clipboard addon 2024-11-26 22:59:24 +08:00
Shuanglei Tao
d0134c8067 html: upgrade to xterm 5.5.0 2024-11-26 22:43:28 +08:00
Al
dea883a7fc html: allow overriding client options with URL query
change: overwrite options from url query params

rm console.log

add support for xterm options
2024-03-26 10:21:53 +08:00
Alex7777
f79304f64a html: add safari mobile full screen support (#946)
add safari mobile full screen support
2024-03-05 21:28:27 +08:00
Michael Lorant
61a985e74e html: Add Unicode 11 xterm.js addon (#1310)
* html: Add Unicode 11 xterm.js addon

Add Unicode 11 addon to xterm.js to enable support for newer Unicode
standards. This addon significantly improves rendering of emojis.

Signed-off-by: Michael Lorant <michael.lorant@nine.com.au>

* html: rebuild header file

---------

Signed-off-by: Michael Lorant <michael.lorant@nine.com.au>
Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
2024-03-05 15:19:47 +08:00
Michael Lorant
09e7fd8148 html: upgrade to xterm 5.4.0 (#1303)
* html: Upgrade xterm.js

Upgrade xterm.js to the latest stable release.

As part of this upgrade, the xterm packages have been scoped as the
unscoped packages were not updated.

The addons have also been upgraded to match the compatible versions.

As part of this upgrade, a compatibility issue was identified with the
Gulp task to inline source. By disabling compression, this allowed the
task to complete successfully. The size of the source file `html.h` did
not change significantly which indicates compression was not being
applied previously.

Signed-off-by: Michael Lorant <michael.lorant@nine.com.au>

* html: rebuild header file

---------

Signed-off-by: Michael Lorant <michael.lorant@nine.com.au>
Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
2024-03-05 10:35:02 +08:00
Lonny Wong
272f2f8de1 add trzszDragInitTimeout option (#1238) 2023-11-10 11:04:00 +08:00
Shuanglei Tao
7a57d76721 html: update dependencies 2023-10-02 14:41:45 +08:00
Lonny Wong
8c6c6ee885 improve support for trzsz (#1084)
* trzsz support drag and drop to upload

* optimize trzsz upload speed

* trzsz support windows

* trzsz support transfer directories in browser
2023-04-27 11:57:09 +08:00
WeidiDeng
01f1ed55e3 fix flow control (#1093)
According to [xterm.js](http://xtermjs.org/docs/guides/flowcontrol/#ideas-for-a-better-mechanism), pause and resume are in wrong places.
2023-04-27 10:30:36 +08:00
Shuanglei Tao
6d73c5d989 html: upgrade to xterm 5.1.0 2022-12-28 13:10:10 +08:00
Shuanglei Tao
271002e894 html: release ObjectURL on dispose 2022-11-04 13:55:44 +08:00
Shuanglei Tao
86addc40d6 html: handle listener lifecycle 2022-11-03 21:02:57 +08:00
Shuanglei Tao
cca66e4745 html: fix eslint warnings 2022-11-03 20:18:07 +08:00
Shuanglei Tao
a4258b0dcb html: fix rendererType=dom not working 2022-11-03 16:40:41 +08:00
Shuanglei Tao
b370b2c991 html: refactor terminal component 2022-11-03 02:01:46 +08:00
Shuanglei Tao
4cab29d470 html: upgrade to gts 4.0.0 2022-11-02 14:21:06 +08:00
Shuanglei Tao
d4dc1150f0 html: add option to toggle trzsz 2022-10-31 15:00:15 +08:00
Shuanglei Tao
e184b36752 html: polish closure code 2022-10-30 17:56:10 +08:00
Shuanglei Tao
017985120c html: fix trzsz send typo 2022-10-30 17:35:22 +08:00
Shuanglei Tao
11ec9798ee html: handle binary xterm event 2022-10-30 16:45:29 +08:00
Shuanglei Tao
f7baae7856 html: add trzsz support
Co-authored-by: Lonny Wong <lonnywong@qq.com>
2022-10-30 11:58:44 +08:00
Shuanglei Tao
5a4c210e7b html: add option to toggle sixel 2022-10-30 11:16:48 +08:00
Shuanglei Tao
8f754b153c html: add option to toggle zmodem 2022-10-30 00:39:41 +08:00
Shuanglei Tao
0c4feb0cab html: move flow control logic to terminal 2022-10-29 14:03:48 +08:00
Shuanglei Tao
2f7e0e0482 html: upgrade to xterm 5.0 2022-10-18 23:30:36 +08:00
Kevin Lin
bae2b816ad html: Initialize doReconnect to false when specified by client options 2022-10-18 23:30:36 +08:00
Shuanglei Tao
790cfb39f1 html: only show resize overlay on ws 2022-09-03 19:25:33 +08:00
jerch
b8a88f63b1 html: add sixel support (#970)
* sixel support

* make linter happy

* picky linters gonna be picky

* simplify worker inlining

* rebuild html

Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
2022-08-30 07:44:25 +08:00
Shuanglei Tao
0b6eaa80b0 html: update default font family 2022-08-08 15:41:13 +08:00
Shuanglei Tao
e11e784969 Revert "xterm: enable macbook options key as modifier for copy-and-paste (#914)"
This reverts commit 2b4dbacc10.
2022-07-05 21:05:17 +08:00
Ruben Jenster
2b4dbacc10 xterm: enable macbook options key as modifier for copy-and-paste (#914)
Enabling `set -g mouse on` in tmux.conf breaks copy-on-select.
On other keyboard layouts the shift key can be used as modifier for copy-on-select.
This commit enables the xterm options required for using the options key
as modifier for copy-on-select.
2022-04-08 22:37:02 +08:00
Shuanglei Tao
723ae96693 html: merge object values for client-option 2021-11-27 11:19:45 +08:00
Shuanglei Tao
f896dff8a7 html: polish webgl init code 2021-11-27 10:34:59 +08:00
Shuanglei Tao
1fbb9792a6 html: improve webgl2 detection code 2021-11-21 11:57:24 +08:00
Shuanglei Tao
62a5b635c6 html: upgrade to xterm@4.15.0 2021-11-08 21:50:22 +08:00
Shuanglei Tao
d0422b30ba html: run gts fix 2021-11-08 21:25:37 +08:00
Maxim Devaev
52adcc4a76 Disable WebGL2 on Safari (#799) 2021-10-23 19:33:43 +08:00
Shuanglei Tao
a5f0765d45 html: fix rendererType updating issue 2021-09-24 22:51:14 +08:00
Shuanglei Tao
d7440fbaf8 html: drop backoff support 2021-05-04 12:58:30 +08:00
Shuanglei Tao
9c1e464e8c html: add ability to press enter to reconnect 2021-03-21 10:27:53 +08:00
dependabot-preview[bot]
3a0aa74207 build(deps): [security] bump elliptic from 6.5.3 to 6.5.4 in /html (#621)
* build(deps): [security] bump elliptic from 6.5.3 to 6.5.4 in /html

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* html: gts fix

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
2021-03-09 00:59:13 +08:00
Shuanglei Tao
96e88fb4ce protocol: set windows size on spawm process 2021-03-06 14:27:05 +08:00
Mathias Aerts
d4d854f662 html: fix styling for bottom of terminal 2020-12-27 23:08:12 +08:00
Shuanglei Tao
4ab5479a83 html: implement flow control for xterm
https://xtermjs.org/docs/guides/flowcontrol/#flow-control-over-websockets
2020-12-27 19:37:51 +08:00
Shuanglei Tao
61a9bcd810 html: add disableReconnect client option 2020-12-27 15:28:12 +08:00
Shuanglei Tao
29ef8cbc3b html: show message on reconnect success 2020-12-19 12:38:20 +08:00
Shuanglei Tao
c62de53104 html: use webgl as the default renderer 2020-12-19 12:28:41 +08:00
Shuanglei Tao
7e0f8061cb html: add disableResizeOverlay client option 2020-08-19 20:40:58 +08:00