Per Bothner
a20599efb4
Merge branch 'master' into demo
2023-08-19 09:15:30 -07:00
Per Bothner
025e8505d5
implement autoResize for terminal in demo
...
This is optional (but the default): You can still explicitly set COLSxROWS,
but "auto" uses a ResizeObserver sets the size based on window size.
2023-08-19 08:28:43 -07:00
Per Bothner
e2d699cb32
Styling tweaks for demo
...
* Make terminal take 2/3 of the width, and the options etc get 1/3
* Remove options height limit, which could lead to annoying nested
verical scroll regions. (An inner region for the options inside a
scrollable viewport.)
2023-08-19 08:23:31 -07:00
Per Bothner
6e39d03a52
Some html/css cleanps in demo
...
* id="grid" should be id="class" (since "grid" is not unique in the document).
* Remove space after 'id=' (multiple places).
* Group 3 texture-atlas elements in new <div class="texture-atlas-container">.
2023-08-18 16:30:36 -07:00
Per Bothner
957e3e0f08
Fix bug in selection handling in dom renderer
2023-08-16 15:34:35 -07:00
Per Bothner
8fbeadd5f9
Add missing deleteCount argument to Array.splice calls.
2019-01-01 09:45:23 -08:00
Per Bothner
bbfe149397
Merge pull request #1 from Tyriar/hooks_changes
...
Move to array-based instead of linked list, simplify, add tests
2018-12-29 07:01:39 -08:00
Per Bothner
48ff841d6a
Be more paranoid about cleaning up escape sequence handlers.
2018-12-23 12:27:26 -08:00
Per Bothner
29cc0bf933
Merge remote-tracking branch 'upstream/master' into control-seq-handler
2018-12-20 18:12:53 -08:00
Per Bothner
6b65ebd4aa
Various typing and API fixes, doc comments, typing test etc.
2018-12-15 11:34:15 -08:00
Per Bothner
8a5a03238f
New method _linkHandler used by both addCsiHandler and addOscHandler.
2018-12-15 09:42:19 -08:00
Per Bothner
5af4626ec7
Change addCsiHandler/addOscHandler to not use Object.assign.
2018-12-13 17:33:33 -08:00
Per Bothner
8ceea112f7
hooks for custom control sequences
...
This re-implements addCsiHandler/addOscHandler to return an IDisposable.
2018-12-11 17:18:10 -08:00
Per Bothner
53fd04a886
Revert "hooks for custom control sequences"
...
This reverts commit 4d660deff3 .
2018-12-11 16:50:40 -08:00
Per Bothner
ffb2708a81
Revert "Cleanups required by tslink."
...
This reverts commit b68974517e .
2018-12-11 16:50:14 -08:00
Per Bothner
8ad2d1bf43
Merge remote-tracking branch 'upstream/master'
2018-12-11 16:30:18 -08:00
Per Bothner
2cb293ceb2
Further tweaks to optimize parsing of OSC_STRING.
2018-12-09 19:03:58 -08:00
Per Bothner
1c4a71f0df
Optimize parsing of OSC_STRING to minimize string concatenation.
2018-12-09 13:29:09 -08:00
Per Bothner
30a667c3be
Revert "Optimize parsing of OSC_STRING to minimize string concatenation."
...
This reverts commit 03115639a9 .
2018-12-09 13:11:17 -08:00
Per Bothner
03115639a9
Optimize parsing of OSC_STRING to minimize string concatenation.
2018-12-09 10:56:34 -08:00
Per Bothner
b68974517e
Cleanups required by tslink.
2018-12-05 14:45:57 -08:00
Per Bothner
4d660deff3
hooks for custom control sequences
...
This fixes (at least partially) issue #1176
"Add a way to plugin a custom control sequence handler".
2018-12-04 19:00:44 -08:00