Daniel Imms
ed15a8e170
Create new event with emitter object to simplify code
2022-10-01 08:45:40 -07:00
Daniel Imms
1a22c44f2b
Make all emitters readonly
2022-10-01 08:02:32 -07:00
Daniel Imms
cf9949840b
Use readonly over getter for exposing events
...
Fixes #4164
2022-10-01 07:52:26 -07:00
Daniel Imms
34df17e36d
Call innerWrite immediately over a microtask
2022-09-28 09:51:28 -07:00
Daniel Imms
44388e5e6c
Use microtask to flush the write buffer after input
...
Fixes #4158
2022-09-28 09:06:07 -07:00
Daniel Imms
399621eeb5
Merge pull request #4154 from Tyriar/qmt
...
Remove queuemicrotask polyfill
2022-09-27 07:41:57 -07:00
Daniel Imms
d74e43a42a
Remove queuemicrotask polyfill
...
Support seems good
2022-09-27 06:44:18 -07:00
Daniel Imms
25b69e5ed0
Fix repetitive microtask problem
...
See #4145
2022-09-27 06:43:07 -07:00
Daniel Imms
0b8120808c
Prefer microtask to timeout in write queue
...
This seems to make little difference but it's more correct as we want
to write as fast as possible to minimize input latency
2022-09-24 16:27:56 -07:00
Megan Rogge
a5f2ea336e
update search results onBufferContentsChange ( #3811 )
2022-05-17 10:00:55 -07:00
Jörg Breitbart
e106cd02cf
fix callstack overflow of writeSync
2021-03-26 12:46:39 +01:00
Jörg Breitbart
cdd238d75e
do not timeout on faulty async handlers, continue with false to give default handlers chance to run
2021-02-28 13:53:06 +01:00
Jörg Breitbart
cc005a274d
multiple changes:
...
- reorder exception throwing to be sync to band position
- document WriteBuffer._innerWrite
- remove any declarations
- remove conditional assigments
- use faster return value branching in all parsers
- remove dead code in benchmark
2021-02-27 20:18:41 +01:00
Jörg Breitbart
bc1048062d
early version of async support for CSI and ESC handlers
2021-01-20 20:05:14 +01:00
Jörg Breitbart
c2ec16a16c
encapsulate deferred writing in WriteBuffer class
2019-09-13 16:31:28 +02:00