Daniel Imms
530f758905
Restrict comments to 100 characters
...
This is a rule I try enforce in PR but it's a bit of a hassle, this will
give a lint warning when it happens resulting in:
- Yellow underline in supported editors when eslint is installed
- Compilation will succeed since it's a warning not an error
- CI will fail as it does not allow lint warnings
Special case comments are ignored which includes @vt comments, table
comments and commented out code.
2023-08-12 09:04:41 -07:00
Jason Lin
7f64fa9ddd
Send corresponding escape code for alt+space and ctrl+alt+space
...
The previous behavior is that this combinations do nothing.
2022-12-06 15:57:19 +11:00
Daniel Imms
d219da480c
Remove fill polyfill
...
Fixes #4241
2022-10-31 12:24:59 -07:00
Daniel Imms
00f6d3a88c
Register all event emitters, make some services disposable
2022-10-08 09:00:14 -07:00
Daniel Imms
a060c64a08
Merge pull request #4179 from Tyriar/4178
...
Split Utf8ToUtf32 decoder unit tests up
2022-10-06 10:38:03 -07:00
Daniel Imms
0d5a526e86
Split Utf8ToUtf32 decoder unit tests up
...
Fixes #4178
2022-10-06 10:28:54 -07:00
Daniel Imms
4d97729010
Revert "Merge pull request #4166 from Tyriar/event_with_emitter"
...
This reverts commit d22f7c9edd , reversing
changes made to 1f8e6f0952 .
2022-10-06 09:48:54 -07:00
Daniel Imms
d22f7c9edd
Merge pull request #4166 from Tyriar/event_with_emitter
...
Create new event with emitter object to simplify code
2022-10-02 13:41:37 -07:00
Daniel Imms
e3e3c347ea
Merge pull request #4160 from jerch/tweak_serverside_buffering
...
tweak buffering in server.js
2022-10-01 09:59:01 -07:00
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
Jörg Breitbart
150499b7e5
comment fix
2022-09-29 10:46:25 +02:00
Jörg Breitbart
193d305dcd
revert timeout to 5ms, remove log in server.js
2022-09-29 10:36:08 +02: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
Daniel Imms
3322418728
Remove shift+backspace -> ^H binding
...
This has been there since the first commit of term.js, it's not clear
why it's there but Terminal.app, iTerm2 and kitty seem to just do a
regular backspace
Fixes #3759
2022-07-24 17:45:14 -07:00
Daniel Imms
5d3a9e864d
Merge pull request #3726 from Eugeny/fix-macos-alt-n
...
Fix Alt-N/E/U handling in macOS, handle Alt-Shift-Letter
2022-06-26 09:04:33 -07:00
Daniel Imms
911d92200a
Merge pull request #3763 from robinfai/master
...
Send the record separator for C-@, like some other keyboards
2022-06-26 07:46:38 -07:00
Megan Rogge
a5f2ea336e
update search results onBufferContentsChange ( #3811 )
2022-05-17 10:00:55 -07:00
binghuiluo
5019e14753
Send the record separator for C-@, like some other keyboards
2022-05-07 17:19:04 +08:00
Daniel Imms
873e3745ec
Send ctrl modifier in page up/down sequence
...
Part of microsoft/vscode#148685
2022-05-06 07:36:22 -07:00
Eugene Pankov
a32e3958d8
fixed macOptionIsMeta on macOS and added Alt-Shift-Letter key handling
2022-04-03 17:39:18 +02:00
coderaiser
2263a1579e
chore: lint using 🐊 Putout
2022-03-08 20:13:40 +02:00
Daniel Imms
086ca58ece
Comment tweaks
2021-12-22 09:10:12 -08:00
Jörg Breitbart
4be063be0f
Merge branch 'master' into osc_colors
2021-11-08 20:57:54 +01:00
Jörg Breitbart
54375713bc
simplify color events
2021-11-08 17:17:39 +01:00
coderaiser
82f8e06ff6
chore: lint using putout
2021-11-05 21:34:37 +02: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
4ba7aef441
Merge branch 'master' into async_handlers
2021-01-23 13:06:50 +01:00
Ken Aoki
3d941f2fdf
add BOM skip logic
2021-01-23 11:42:16 +00:00
Ken Aoki
93aab95f7b
filter U+FEFF (BOM) when decoding input data
2021-01-23 04:39:57 +00:00
Jörg Breitbart
bc1048062d
early version of async support for CSI and ESC handlers
2021-01-20 20:05:14 +01:00
condichen@tencent.com
b7695d2fd6
fix shift+cmd+a will Select all
2020-11-28 00:56:45 +08:00
coderaiser
246d137c2c
src: lint using putout
2020-10-25 10:05:41 +02:00
coderaiser
f63f1f7b95
chore: lint using putout
2020-06-01 00:04:17 +03:00
Daniel Imms
9817754f92
Fix explicit access
2020-04-14 06:23:11 -07:00
Daniel Imms
e61c34b85f
Merge branch 'master' into 2498_alt_enter
2020-04-10 12:53:16 -07:00
Daniel Imms
ba0dc60b09
Combine into ternary
2020-04-10 12:53:02 -07:00
Daniel Imms
2c0669c865
Fix some naming conventions issues
2020-03-28 06:57:55 -07:00
Daniel Imms
88a50d3779
Fix most rules
2020-03-28 06:51:36 -07:00
kumaran-14
c9277c3c72
Remove altEscape DECSET mode and add support for alt+esc key
2020-02-21 13:13:46 +05:30
kumaran-14
5896a05ca6
Change decset flag to altEscMode
2020-02-20 00:21:33 +05:30
kumaran-14
b75ae0f7b1
Support alt+Enter key signal by default
2020-02-14 20:00:03 +05:30