Daniel Imms
637231e6e1
Merge pull request #5445 from Tyriar/tyriar/perf
...
Prefer performance.now() over Date.now()
2025-11-23 08:46:24 -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
Daniel Imms
e1023d7ec2
Merge pull request #5442 from Tyriar/tyriar/5441
...
Fix headless module path
2025-11-14 10:18:17 -08:00
Daniel Imms
d186a3a115
Fix headless module path
...
Fixes #5441
2025-11-12 09:30:11 -08:00
Daniel Imms
65a0e03b66
Merge pull request #5437 from xtermjs/anthonykim1/preventPageScrollWhenMouseOff
...
Prevent entire page from scrolling when scrolling in alt buffer with mouse event off
2025-11-02 03:54:46 -08:00
Anthony Kim
6ae020f51e
add this.cancel(ev, true) when line is zero on wheel handler
2025-10-31 14:39:42 -07:00
Daniel Imms
6c79a46513
Merge pull request #5436 from xtermjs/merogge/serialize-range
...
add range to IHTMLSerializeOptions
2025-10-28 09:41:17 -07:00
meganrogge
4a62856153
fix test
2025-10-28 12:30:54 -04:00
meganrogge
5121867bbb
rm line
2025-10-28 11:56:56 -04:00
meganrogge
5a467da137
pass in startLine, endLine, startCol
2025-10-28 11:46:41 -04:00
meganrogge
18bafaf9c9
fix indentation
2025-10-28 10:30:22 -04:00
meganrogge
5141a91bba
add range to IHTMLSerializeOptions
2025-10-28 10:27:00 -04:00
Daniel Imms
9fce067266
Merge pull request #5425 from xtermjs/anthonykim1/parsingDataCharCode
...
Only show char codes for parsing data on trace
2025-10-22 19:08:47 -07:00
Daniel Imms
59241e467c
Update src/common/InputHandler.ts
2025-10-22 19:02:14 -07:00
Anthony Kim
09e26980d3
I dont think we need () => in front of typeof data === 'string'
2025-10-22 16:23:35 -07:00
Anthony Kim
c3bb36bad9
if trace, debug each AND remove array.from
2025-10-22 16:11:22 -07:00
Anthony Kim
2c57b3219b
Only show char codes for parsing data on trace
2025-10-22 09:47:33 -07:00
Daniel Imms
e9e8206467
Merge pull request #5423 from Tyriar/tyriar/resize5300
...
Clear selection on vertical resize
2025-10-19 01:21:28 -07:00
Daniel Imms
9a7517d3eb
Clear selection on vertical resize
...
Fixes #5300
2025-10-19 01:15:30 -07:00
Daniel Imms
1bf90d9f47
Merge pull request #5422 from xtermjs/Tyriar-patch-1
...
Explain filtering unit tests by file
2025-10-18 13:49:38 -07:00
Daniel Imms
1527e89ad5
Explain filtering unit tests by file
2025-10-18 06:40:45 -07:00
Daniel Imms
95cc31566a
Merge pull request #5421 from xtermjs/Tyriar-patch-1
...
Use Windows PowerShell instead of pwsh 7 in demo
2025-10-18 06:20:41 -07:00
Daniel Imms
7274e1bbea
Use Windows PowerShell instead of pwsh 7 in demo
...
When pwsh 7 isn't installed it's hard to figure out what the problem is.
2025-10-18 06:15:19 -07:00
Daniel Imms
a8fabcfa01
Merge pull request #5420 from xtermjs/anthonykim1/charCodesForVerbose
...
Only log character codes for trace log
2025-10-17 11:39:21 -07:00
Anthony Kim
67cf25989a
only send codes, not the data when in trace
2025-10-17 11:26:34 -07:00
Anthony Kim and Daniel Imms
f87e574971
Update src/common/services/CoreService.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2025-10-17 11:23:24 -07:00
Anthony Kim
5269462817
Only log character codes for verbose/trace
2025-10-17 10:12:10 -07:00
Anthony Kim
f4baddaaf1
Merge pull request #5411 from xtermjs/anthonykim1/fixTeleportWhenAltScroll
...
Fix teleport when exiting out of alt buffer. v2
2025-10-17 09:20:23 -07:00
Anthony Kim
2a6e22e8f8
set this._latestYDisp = undefined onBufferActivate
2025-10-01 20:36:06 -07:00
Anthony Kim
32c3cb01a1
Make sure this._latestYDisp is up to date
2025-09-30 23:04:04 -07:00
Daniel Imms
a1d8e96fdd
Merge pull request #5406 from Tyriar/tyriar/search_refactor
...
Refactor search addon into multiple files, add unit tests
2025-09-26 18:24:44 +09:00
Daniel Imms
c4780e54fd
Merge branch 'master' into tyriar/search_refactor
2025-09-26 17:52:47 +09:00
Daniel Imms
c56336b32b
Fix unit tests
2025-09-26 17:49:20 +09:00
Daniel Imms
d11f411c17
Bring back respecting of cached search term
2025-09-26 17:09:54 +09:00
Daniel Imms
f03dfbb3ba
Merge pull request #5407 from Tyriar/tyriar/bd09_copilot_instructions
...
Improve Copilot instructions and add test guidelines
2025-09-26 16:51:46 +09:00
Daniel Imms
ffd6dc6ab7
Fix import issue
2025-09-19 09:06:53 -07:00
Daniel Imms
5b4b93acc6
Improve Copilot instructions and add test guidelines
...
- Enhanced copilot instructions with detailed architecture overview
- Added comprehensive development workflow documentation
- Documented addon development patterns and key examples
- Added project-specific conventions and TypeScript structure
- Included common patterns for parser integration and buffer access
- Added critical implementation details for rendering and events
- Created unit test instructions file with addon testing rules
- Specified preferences for assertions and self-documenting tests
2025-09-19 09:03:02 -07:00
Daniel Imms
2b329eb7b7
Search engine tests
2025-09-19 08:58:30 -07:00
Daniel Imms
9c5644ddc0
Add SearchEngine tests
2025-09-19 08:52:14 -07:00
Daniel Imms
398e87490d
Add coding guidelines and lint-fix script
...
- Add coding guidelines section to copilot instructions
- Specify rule about avoiding comments in unit tests
- Add lint-fix npm script for auto-fixing ESLint issues
2025-09-18 13:27:12 -07:00
Daniel Imms
a191370d54
refactor: remove unnecessary interface exports
...
- Remove export from IHighlight and IMultiHighlight interfaces
- Remove export from ISelectedDecoration interface
- Remove export from ISearchPosition interface
- Keep ISearchResult exported as it's used across multiple files
- Make ISelectedDecoration extend IDisposable for consistency
2025-09-18 13:26:43 -07:00
Daniel Imms
bf9ce3bfaf
Clean up SearchLineCache.test.ts comments
...
- Remove unnecessary inline comments from unit tests
- Add descriptive assertion messages where appropriate
- Follow coding guidelines for test comment usage
2025-09-18 13:21:07 -07:00
Daniel Imms
ca7e8ca3b7
refactor(addon-search): extract components
...
- Extract SearchEngine for core search algorithms
- Extract DecorationManager for visual decorations
- Extract SearchState for state management
- Extract SearchResultTracker for result tracking
- Simplify SearchAddon by delegating to components
- Improve modularity and maintainability
2025-09-18 07:38:42 -07:00
Daniel Imms
ab43a3bd22
Merge pull request #5405 from Tyriar/tyriar/b8d4_search_interface_refactor
...
Refactor search addon interfaces
2025-09-18 06:31:18 -07:00
Daniel Imms
32e58c71fe
Refactor search addon interfaces
...
- Move ISearchAddonOptions and ISearchResultChangeEvent to types
- Make noScroll property required in IInternalSearchOptions
- Change exported interfaces to internal scope where appropriate
2025-09-18 06:25:12 -07:00
Daniel Imms
b12a9393f1
Merge pull request #5404 from Tyriar/tyriar/1de3_timeout_cleanup
...
Replace timeout handling with disposableTimeout
2025-09-17 15:12:00 -07:00
Daniel Imms
c27af4fa2e
Remove thenable from more places
2025-09-17 15:06:33 -07:00
Daniel Imms
90bf20d9d8
Remove Thenable
2025-09-17 15:02:27 -07:00
Daniel Imms
8ffcbd98c4
Replace timeout handling with disposableTimeout
...
- Use disposableTimeout instead of manual timeout management
- Replace MutableDisposable pattern for SearchAddon highlight timeout
- Replace SearchLineCache timeout with MutableDisposable approach
- Clean up timeout disposal logic in both classes
2025-09-17 14:48:11 -07:00