jerch
aa93189cc5
Merge branch 'master' into package_upgrades
2026-05-11 16:57:49 +02:00
zeertzjq
e0add7fe4b
Move return earlier
2026-05-11 14:11:28 +08:00
zeertzjq
b0f5bc2d28
Fix kitty keyboard "Report event types" behavior not matching spec
...
According to spec:
- The Enter, Tab and Backspace keys will not have release events unless
"Report all keys as escape codes" is also set.
- Key events that result in text are reported as plain UTF-8 text, so
events are not supported for them, unless the application requests
"key report" mode.
I checked kitty's behavior. While it does report release events for keys
that result in text as CSI sequences, press and repeat events for these
are reported as plain UTF-8 text. This commit changes Xterm.js to match
this behavior.
2026-05-11 13:59:01 +08:00
Jörg Breitbart
dc1ae4514b
package upgrades & linter fixes
2026-05-09 17:42:49 +02:00
Daniel Imms
80debafa11
Convert a lot of top level consts to const enums
2026-05-02 06:44:25 -07:00
Anthony Kim
bd722e7b07
keep things clean
2026-04-03 09:46:07 -07:00
Anthony Kim
cccdd447a0
No need to mention vscode link
2026-04-03 09:45:01 -07:00
Anthony Kim
446bcb1f75
Fix option b and f
2026-04-03 09:26:32 -07:00
Anthony Kim
4a35a4880d
Do not report lock key presses without REPORT_ALL_KEYS in Kitty keyboard protocol
2026-03-31 16:45:52 -07:00
Anthony Kim
6f3ce7b0fe
comment
2026-03-10 00:30:29 -07:00
Anthony Kim
fdb7346f3a
Fix kitty keyboard disambiguate mode for space, enter, tab, backspace
2026-03-10 00:27:27 -07:00
Daniel Imms
87bf81cf96
Call out hack, fix lint
2026-03-09 13:44:02 +09:00
Serge
f155c65e5a
work around Safari sending keycode 13 (enter) when typing ctrl-c on iphone, iPad, AppleVisionPro
2026-03-09 13:42:36 +09:00
Daniel Imms
b9fa53169f
Fix kitty modifier events when only flag 2 is used
...
Fixes #5687
2026-02-10 01:17:44 -08:00
Daniel Imms
2c0ba3c058
Speed up TextDecoder.test.ts
...
- Reduce calls to decode and clear
- Consolidate numberic checks
- Increase batch size
2026-01-31 16:42:11 -08:00
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