Daniel Imms
e07832a420
Merge branch 'master' into 4198_kitty
2026-01-09 12:51:48 -08:00
Daniel Imms
3adf6be988
Fix some edge cases
2026-01-09 10:36:13 -08:00
Daniel Imms
566589f7c1
More comprehensive tests
2026-01-09 07:23:12 -08:00
Daniel Imms
3fbaef06ef
Align behavior closer with kitty
2026-01-09 06:53:12 -08:00
Daniel Imms
2265fa2ade
Implement kitty keyboard protocol (CSI u)
...
Fixes #4198
2026-01-09 05:59:57 -08:00
Daniel Imms
bf7c95b6cc
Flush writes on resize
...
Fixes #5597
2026-01-09 05:25:22 -08:00
Daniel Imms
1caf6dbe50
Fix tests
2026-01-01 05:19:56 -08:00
Daniel Imms
1c97e40a6a
Support ctrl+^ -> RS, move to physical key
...
Fixes #2797
Part of #1862
2026-01-01 04:41:44 -08:00
Daniel Imms
733e48ec73
Add ctrl+/ -> ^_ keybinding
...
Fixes #5457
2025-12-27 05:57:43 -08:00
Daniel Imms
6468a78237
Fix comment lint
2025-11-23 08:40:35 -08:00
Daniel Imms
98e234992b
Prefer performance.now() over Date.now()
...
performance.now() is faster than Date.now() as there's no need to
consult the system clock. The more important part of this is that
performance.now() is monotonic and is guaranteed to never to backwards.
2025-11-23 08:32:35 -08:00
copilot-swe-agent[bot] and Tyriar
076f051bb5
Fix ESLint trailing spaces warning in Keyboard.test.ts
...
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com >
2025-06-05 10:34:53 +00:00
copilot-swe-agent[bot] and Tyriar
658c57546c
Add comprehensive tests for alt+shift+letter keyboard combinations
...
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com >
2025-06-05 10:24:34 +00:00
copilot-swe-agent[bot] and Tyriar
41546230dc
Remove alt -> ctrl+arrow hack and update tests
...
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com >
2025-05-29 13:20:54 +00:00
Daniel Imms
144bdb5dd0
Move over to vs disposables
2024-07-14 16:19:20 -07:00
Daniel Imms
90ff6f3d06
Migrate most EventEmitter to base/ Emitter
2024-07-14 07:41:56 -07:00
Jason Lin
023c778c4d
Send correct code for ctrl+[alt+]+backspace
...
We should send ^H (instead of ^?) for ctrl+backspace. This is what xterm
and gnome-terminal do.
2023-10-11 14:59:35 +11:00
Daniel Imms
5ccf4d3311
Merge remote-tracking branch 'upstream/master' into pr/PerBothner/4519-1
2023-08-23 05:09:42 -07:00
Daniel Imms
921da1a2ea
Ignore no-unused-vars in .api, organize all remaining imports
2023-08-23 04:47:53 -07:00
Per Bothner
2204375788
Merge branch 'master' into clusters
2023-08-21 07:59:15 -07:00
Daniel Imms
1c5596de66
Split up Base64Decoder decoding tests
...
Fixes #4696
2023-08-19 15:21:42 -07:00
Daniel Imms
67f46a54b8
Split up StringToUtf32 decoder tests
...
Part of #4696
2023-08-19 15:17:11 -07:00
Per Bothner
cf243adfe3
Merge branch 'master' into clusters
2023-08-14 12:22:55 -07:00
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
Per Bothner
67e968926c
Cleanup - fix various tests.
2023-05-17 18:37:27 -07:00
Per Bothner
2f7fe1189c
New unicode-graphemes addon.
...
Handle grapheme cluster lookup as well as wcwidth.
This is based on Unicode 15, and could replace the unicode11 addon.
2023-05-16 18:31:31 -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