Commit Graph

61 Commits

Author SHA1 Message Date
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
Shuanglei Tao
a8417381cd html: add titleFixed client option 2020-07-25 08:46:45 +08:00
Ondřej Caletka
cb3e72018b Refit to the browser window after changing font size (#416)
Fixes #415

Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
2020-07-23 08:37:36 +08:00
Shuanglei Tao
260778aff2 html: add disableLeaveAlert client option 2020-06-20 12:15:35 +08:00
Wiki Wang
2511d2deca html: set URL of stylesheet by href
URL should be set with attribute `href`, `src` is no longer supportd by new browsers
2020-05-02 23:23:37 +08:00
Shuanglei Tao
9fece9ea8f html: recreate sentry object on zmodem reset 2020-03-12 22:44:10 +08:00
Shuanglei Tao
339889eadc html: reuse xterm instance on reconnect 2020-03-07 20:55:47 +08:00
Shuanglei Tao
bd7335cce0 html: polish code 2020-02-07 13:08:34 +08:00
Shuanglei Tao
6bbe4db775 html: use api to fetch auth token 2020-02-06 17:43:40 +08:00
Shuanglei Tao
397b24f138 html: webgl renderer support 2019-12-08 23:23:07 +08:00
Shuanglei Tao
e2ac72336b html: use file-saver to save file 2019-11-28 20:46:38 +08:00
Shuanglei Tao
75b3b59247 html: upgrade to preact 10 and xterm 4.2.0 2019-10-26 14:45:04 +08:00
Shang Yuanchun
96528fe2e1 Focus to terminal after rz transfer completed (#237)
* Focus to terminal after rz transfer completed

* Generate index.html after commit d355d7b9c8
2019-09-28 23:01:22 +08:00
Shuanglei Tao
32cf6214d2 xterm.js 3.15.0-vscode1 2019-08-28 22:18:37 +08:00
Shohei Kameda
12dd5c7d82 html: added window.term.fit 2019-07-25 23:25:55 +08:00
Shuanglei Tao
ef0027474c html: update modal style 2019-07-12 20:53:01 +08:00
Shuanglei Tao
e8fd62e37b html: abort zmodem session on ctrl+c 2019-07-07 20:59:07 +08:00
Shuanglei Tao
39f89ce3ce html: add empty check for copy 2019-07-07 20:04:06 +08:00
Shuanglei Tao
218b14943d html: polish zmodem code 2019-07-07 19:44:01 +08:00
Shuanglei Tao
20f20262bd html: handle websocket error 2019-07-06 00:17:23 +08:00
Shuanglei Tao
0fc275f3a3 server: remove the reconnect option (enabled by default) 2019-07-05 23:09:07 +08:00
Shuanglei Tao
fd29928a9c html: retry websocket connection with exponential backoff 2019-07-05 22:32:01 +08:00
Shuanglei Tao
b0ed073a00 html: reformat code 2019-07-04 21:23:04 +08:00
Shuanglei Tao
84ac40a614 html: move zmodem code as Component/ITerminalAddon 2019-07-04 00:20:30 +08:00
Shuanglei Tao
9633942977 html: abort on zmodem consume error 2019-06-29 16:17:12 +08:00
Shuanglei Tao
70f16a7a41 html: polish zmodem code 2019-06-23 18:37:33 +08:00
Shuanglei Tao
9762993129 html: auto reconnect on zmodem error 2019-06-23 17:33:03 +08:00