Daniel Imms
34e68b1ad4
Speed up all remaining unit tests below threshold (40ms?)
2026-01-31 15:50:51 -08:00
Daniel Imms
39037ee806
Prefer startsWith over indexOf === 0
...
Faster and make code clearer
2026-01-31 10:20:44 -08:00
Daniel Imms
d0e8141f7c
Merge branch 'master' into nullish
2026-01-31 08:56:14 -08:00
Daniel Imms
bad7e329df
Add @typescript-eslint/prefer-nullish-coalescing eslint rule
2026-01-31 08:43:05 -08:00
Daniel Imms
de01d4608c
Move kitty input mode into a class to avoid init cost
2026-01-30 07:09:48 -08:00
Daniel Imms
d35481c3f9
Move win32 input mode into a class to avoid init cost
2026-01-30 07:07:55 -08:00
Daniel Imms
01450f044a
Merge pull request #5632 from Tyriar/5631
...
Remove vs dependency in common
2026-01-30 06:39:28 -08:00
Daniel Imms
e8d99d50a6
Remove vs dependency in common
...
Fixes #5631
2026-01-30 06:03:16 -08:00
Daniel Imms
2af9d10171
Don't disambiguous kitty keyboard on shift only
...
Part of microsoft/vscode#286809
2026-01-26 14:44:34 -08:00
Daniel Imms
0f1c9a47db
Fix some control keys not sending correct sequences
...
Fixes #5611
2026-01-16 06:06:55 -08:00
Daniel Imms
a1fca4feb8
Fix ctrl+letter when inside pwsh->WSL
2026-01-11 09:02:44 -08:00
Daniel Imms
9d0beb7c38
Use 0b over 0x for flags
2026-01-10 05:57:13 -08:00
Daniel Imms
53dc85eca2
Add copyright
2026-01-10 05:48:48 -08:00
Daniel Imms
0946386cc4
Make unit tests more compact
2026-01-10 05:48:30 -08:00
Daniel Imms
ebe18b3da5
Add more test cases
2026-01-10 05:42:17 -08:00
Daniel Imms
ee47054678
Implement win32-input-mode
...
Fixes #2357
2026-01-10 05:27:03 -08:00
Daniel Imms
73cba6dda3
Clean up, add sgr extension to api
2026-01-10 04:38:06 -08:00
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