Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: xtermjs/xterm.js

5.5.0

05 Apr 14:02
9ba6c00
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

🚀 Features

📦 API

  • New opt-inrescaleOverlappingGlyphs option that will conservatively rescale glyphs that likely overlap with the following cell when GPU acceleration is enabled (#4997,#5001,#5012,#5013) via@Tyriar.

    Webgl with the setting off:

    image

    Webgl with the setting on:

    image

    This was primarily added to help with applications that want to achieve GB18030 compliance.

🐞 Bug fixes

📝 Documentation and internal improvements


📥 Addons

@xterm/addon-search

🤝 Compatible addon versions

AddonVersion
@xterm/addon-attach0.11.0
@xterm/addon-canvas0.7.0
@xterm/addon-fit0.10.0
@xterm/addon-image0.8.0
@xterm/addon-ligatures0.9.0
@xterm/addon-search0.15.0
@xterm/addon-serialize0.13.0
@xterm/addon-unicode-graphemes0.3.0
@xterm/addon-unicode110.8.0
@xterm/addon-web-links0.11.0
@xterm/addon-webgl0.18.0

Contributors

  • @tabarra
  • @Tyriar
  • @krassowski
  • @RahjIII
tabarra, Tyriar, and 2 other contributors
Assets2
Loading
krassowski, Zaid-maker, polyipseity, andriyor, bmeares, pl1047, will-kim-querypie, and Ismael-VC reacted with heart emoji
8 people reacted

5.4.0

01 Mar 17:12
9a512d1
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

📢 The package has been migrated to the@xterm scope (#4860,#4861) via@Tyriar. This means that the oldxterm andxterm-* packages are now deprecated and will no longer be maintained. This was done mainly for security reasons to remove ambiguity around the package names and to prevent potential typosquatting attacks.

Please use the new scoped@xterm/* packages.

📦 API

  • input(data: string, wasUserInput?: boolean): void API to emit an input event fromTerminal (#4953) via@arencoskun
  • documentOverride option to help multi-window app support (#4844) via@Tyriar
  • attachCustomWheelEventHandler API to allow embedders to intercept wheel events (#4913,#4915) via@Tyriar,@tisilent

🐞 Bug fixes

  • Selection is now synchronized between the accessibility tree and the main selection model (#4742) via@JasonXJ
  • Fix and add integration tests for inactive selection drawing (#4763,#4808) via@tisilent
  • Fix a possible exception when disposingTerminal (#4776,#4785) via@Tyriar
  • Fix handling of invisible characters in the DOM renderer (#4762) via@tisilent
  • Improve reliability of playwright tests across browsers (#4777) via@Tyriar
  • Fix inverse minimum contrast ratio edge cases (#4778) via@Tyriar
  • Fix regression in forced mouse selection handling (#4783) via@Tyriar
  • Always render cursor above selection in the DOM renderer (#4786) via@Tyriar
  • Get voice over to announce terminal output consistently (#4789) via@meganrogge
  • UseisCursorInitialized correctly in the DOM renderer (#4798) via@tisilent
  • Move WidthCache measurment container to the helper element (#4807) via@mofux
  • Fix DOM renderer showing selection overflowing its container (#4815,#4837) via@tisilent
  • Don't re-render after parse if the viewport did not change (#4820) via@Tyriar
  • Send correct code for ctrl+alt+backspace (#4839) via@JasonXJ
  • Make xterm.js multi-window aware (#4846,#4912) via@Tyriar,@jeanp413
  • Fix node process check for node v21+ (#4851) via@davidfiala
  • Improve non-browser usage of xterm package by preferring globalThis over self (#4856) via@alan-agius4
  • Fix crosshair cursor not working (#4921) via@Tyriar
  • Fix exception in render service (#4954) via@Tyriar
  • Fix spacing when measuring before element is attached to the DOM (#4973) via@Tyriar

📝 Documentation and internal improvements

⚠️ Deprecations

  • The oldxterm andxterm-* packages are now deprecated and will no longer be maintained. Please use the new scoped@xterm/* packages instead.

📥 Addons

@xterm/addon-canvas

  • Add underline variants to make underline patterns appear correctly (#4703) via@tisilent
  • Improve rendering of dashed underline patterns (#4874) via@tisilent
  • Support blending of selection and background/powerline characters and the selection (#4920,#4950) via@Tyriar

@xterm/addon-unicode-graphemes

This is a new experimental addon that provides support for grapheme clusters in the terminal (#4519) via@PerBothner

@xterm/addon-search

@xterm/addon-serialize

@xterm/addon-webgl

  • Add underline variants to make underline patterns appear correctly (#4703) via@tisilent
  • Improve rendering of dashed underline patterns (#4874) via@tisilent
  • Fix inactive cursor rendering (#4801) via@tisilent
  • Allow addon to work on legacy versions of Safari when webgl2 is explicitly enabled (#4836) via@xiaoxiaobt
  • Support blending of selection and background/powerline characters and the selection (#4920,#4950) via@Tyriar

@xterm/addon-web-links

🤝 Compatible addon versions

AddonVersion
@xterm/addon-attach0.10.0
@xterm/addon-canvas0.6.0
@xterm/addon-fit0.9.0
@xterm/addon-image0.7.0
@xterm/addon-ligatures0.8.0
@xterm/addon-search0.14.0
@xterm/addon-serialize0.12.0
@xterm/addon-unicode-graphemes0.2.0
@xterm/addon-unicode110.7.0
@xterm/addon-web-links0.10.0
@xterm/addon-webgl0.17.0

Contributors

  • @arcanis
  • @szymonkaliski
  • @Tyriar
  • @mofux
  • @jerch
  • @JasonXJ
  • @PerBothner
  • @davidfiala
  • @xiaoxiaobt
  • @alan-agius4
  • @jeanp413
  • @meganrogge
  • @silamon
  • @tisilent
  • @ujjwalpandey922
  • @arencoskun
arcanis, szymonkaliski, and 14 other contributors
Loading
1zilc, feynon, Dennnnny, ryenus, and carlosacosta4 reacted with heart emojisureshg, ellapaul3, isontheline, and feynon reacted with rocket emoji
8 people reacted

5.3.0

07 Sep 18:03
2e02c37
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

🚀 Features

📦 API

  • There's a newtrace log level (#4687, 4709) via@Tyriar
    constterm=newTerminal({logLevel:'trace'});
  • Newlogger delegate option (#4563,#4564) via@Tyriar. This new API allows the embedder to define the logging behavior, instead of always using toconsole
    constterm=newTerminal({logger:{trace:(e,args)=>console.log('trace: ',e,args),debug:(e,args)=>console.log('debug: ',e,args),info:(e,args)=>console.log('info: ',e,args),warn:(e,args)=>console.log('warn: ',e,args),error:(e,args)=>console.log('error: ',e,args)}});
  • NewignoreBracketedPasteMode option that allows explicitly disabling bracketed paste mode, regardless of whether the shell enables it or not (#4636) via@Tyriar
    constterm=newTerminal({ignoreBracketedPasteMode:true});
  • NewcursorInactiveStyle option (#4657) via@tisilent
    constterm=newTerminal({cursorInactiveStyle:'none'});

🐞 Bug fixes

  • Fix character size being affected by CSS transformations (#4366) via@arekouzounian
  • Fix mouse tracking behavior (#4583) via@jerch
  • Improve rendering of the DOM renderer's underline cursor (#4584) via@dlech
  • Fix issues in the accessibility tree (#4637) via@meganrogge
  • Fix reset and clear leaving viewport in a bad state (#4638) via@Tyriar
  • Fix API facade memory leaks (#4655) via@Tyriar
  • Fix memory leak in cursor blink state manager (#4659) via@SvanT
  • Fix inverse rendering when a transparent foreground is used (#4667) via@Dennnnny
  • Fix disposing of decorations (#4671) via@Tyriar
  • Render selection background consistently in the DOM renderer (#4673) via@Tyriar
  • Improve rendering of powerline circle line custom glyph (#4729) via@tisilent
  • Improve texture atlas utilization and fix glyph corruption when merging (#4732) via@Tyriar

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-canvas

xterm-addon-image

  • The images addon has been merged into the main repository (#4577,#4727) via@jerch

xterm-addon-ligatures

xterm-addon-serialize

  • Fallback to default ANSIcolors when running xterm-headless (#4348) via@silamon

xterm-addon-webgl

  • Render the cursor in the WebGL canvas (#4568) via@xzfc

🤝 Compatible addon versions

AddonVersion
xterm-addon-attach0.9.0
xterm-addon-canvas0.5.0
xterm-addon-fit0.8.0
xterm-addon-image0.5.0
xterm-addon-ligatures0.7.0
xterm-addon-search0.13.0
xterm-addon-serialize0.11.0
xterm-addon-unicode110.6.0
xterm-addon-web-links0.9.0
xterm-addon-webgl0.16.0

🌐 Website

Pull fromhttps://github.com/xtermjs/xtermjs.org/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed

Contributors

  • @dlech
  • @Tyriar
  • @SvanT
  • @xzfc
  • @jerch
  • @PerBothner
  • @matifali
  • @naufalafif
  • @arekouzounian
  • @LabhanshAgrawal
  • @SimonSiefke
  • @meganrogge
  • @silamon
  • @tisilent
  • @Dennnnny
  • @tomgroenwoldt
  • @lewis-sanchez
dlech, Tyriar, and 15 other contributors
Loading
haunt98 and Anyuei reacted with thumbs up emoji
2 people reacted

5.2.1

10 Jun 21:01
ac923e5
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

🐞 Bug fixes

  • Fix NPEs on buffer line and windowsPty option (#4551) via@Tyriar

Contributors

  • @Tyriar
Tyriar
Loading

5.2.0

08 Jun 22:01
cc1089e
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

🚀 Features

📦 API

  • Improved Windows workarounds with the new windowsPty option (#4539) via@Tyriar

    constterm=newTerminal({windowsPty:{backend:'conpty',buildNumber:19000}});

🐞 Bug fixes

  • Fix performance issue related to hovering links (#4341) via@Tyriar
  • Fix exception by validating rows are correct when rendering (#4346) via@Tyriar
  • Improve rendering of dotted underline (#4350) via@Tyriar
  • Invalidate links after resizing (#4358) via@Tyriar
  • Fix texture atlas exception thrown when changing options (#4390) via@Tyriar
  • Show hollow cursor when unfocused, regardless of cursor type (#4443) via@tisilent
  • Fix out of sync link underlines after resizing on Windows (#4458) via@Tyriar
  • Fix a lifecycle issue with decorations (#4465) via@Tyriar
  • Rerender in the DOM renderer after options change (#4475) via@kelvinhammond
  • Fix DECRQM reports and add DECBKM (#4478) via@jerch
  • Fix links not working when using a screen reader (#4491) via@jerch
  • Ensure decorations in the top layer render on top of decorations in the bottom layer (#4516) via@jeanp413
  • Avoid triggering a reflow while rendering search decorations (#4521) via@jeanp413
  • Don't apply dim to background color (#4525) via@Tyriar
  • Fix exception and performance issue when rendering link underlines (#4546) via@jerch

📝 Documentation and internal improvements

⚠️ Deprecations

  • windowsMode has been deprecated in favor ofwindowsPty
    // Before 5.2term=newTerminal({windowsMode:true});// After 5.2term=newTerminal({windowsPty:{backend:'conpty',buildNumber:19000}});

🎉 New real-world use cases


📥 Addons

xterm-addon-canvas

  • Fix rendering of underline on wide characters (#4352) via@Tyriar
  • Update selection properly after changing themes (#4353) via@Tyriar
  • Update selection properly after a resize (#4355) via@Tyriar
  • Correct cell background color after clearing formatting (#4438) via@jerch
  • Fix rendering of 0xE0BB and 0xE0BF powerline symbols (#4451) via@Starwort
  • Fix rendering of cursor leaving artifacts on Firefox (#4500) via@Tyriar
  • Disallow glyphs to exceed texture atlas size (#4508) via@Tyriar
  • Don't apply dim to background color (#4525) via@Tyriar
  • Fix blacked out content (#4533) via@Tyriar

xterm-addon-search

  • Improve search behavior when there are > 1000 results (#4504) via@jeanp413

xterm-addon-webgl

🤝 Compatible addon versions

  • xterm-addon-attach@...
  • xterm-addon-fit@...
  • xterm-addon-ligatures@...
  • xterm-addon-search@...
  • xterm-addon-serialize@...
  • xterm-addon-unicode11@...
  • xterm-addon-web-links@...
  • xterm-addon-webgl@...

Contributors

  • @Eugeny
  • @kelvinhammond
  • @Tyriar
  • @Coding-Kiwi
  • @jerch
  • @Starwort
  • @jeanp413
  • @meganrogge
  • @silamon
  • @tisilent
Eugeny, kelvinhammond, and 8 other contributors
Loading
mozhuanzuojing, Yukaii, childrentime, luojiyin1987, FormalSnake, and tisilent reacted with thumbs up emojiKarsten7 and FormalSnake reacted with rocket emoji
7 people reacted

5.1.0

19 Dec 18:34
19c760a
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

🚀 Features

Multiple texture atlas page support (#4244,#4252,#4274) via@Tyriar

Instead of there being a hard cap of 1024x1024 on the size of the texture atlas backing the canvas and webgl renderers, multiple textures are now supported. Each individual texture is now 512x512 which allows faster uploading to the GPU and will continually merge until the maximum of 4096x4096 is reached.

The benefits in simple terms of this change are:

  • Less time from drawing a glyph to rendering it
  • Less CPU is used when lots of glyphs are used
  • Essentially unlimited space for glyphs, which is good for certain use cases but will also let us explore things like"perfect" dotted and curvy underlines in the future

Here is an example of a 512x512 texture atlas page right after the terminal has loaded and printed a powerline-based prompt:

image

And here is the 1024x1024 page after a lot of glyphs have rendered:

image

Slash and triangle custom glyphs (#4313) via@Tyriar

Eight new powerline extra custom glyphs are supported:

image

New option scrollOnUserInput (#4289) via@JasonXJ

You can now specify whether to scroll to the bottom of the terminal on user input, previously this was the default and only behavior. This new setting is enabled by default.

constterm=newTerminal({scrollOnUserInput:false});

🐞 Bug fixes

  • Fix width of upper 1/8 block character (#4134) via@Tyriar
  • Allow the renderer to be set beforeTerminal.open is called (#4151) via@Tyriar
  • Fix trusted types in dom renderer (#4157) via@Tyriar
  • Fix several memory retention issues (#4185) via@Tyriar
  • Remove check proposed api checks (#4204) via@silamon
  • Clear the extended attribute onCSI 0 m via@JasonXJ
  • Fix clipping of italic emoji (#4237) via@Tyriar
  • Fix some edge cases in screenReaderMode (#4284) via@JasonXJ
  • Send corresponding escape code for alt+space and ctrl+alt+space (#4290) via@JasonXJ
  • Re-evaluate the link under the cursor instead dropping it completely when the terminal buffer changes (#4298) via@jerch

🏎️ Performance

📝 Documentation and internal improvements

🛑 Breaking changes

  • There is a newallowNonHttpProtocols property onILinkHandler which forces the embedder to opt-in to non-http(s) protocols. This is a breaking change in a minor release as it could improve security of embedders.
    // before 5.1.0constterm=newTerminal({linkHandler:{    ...}};// after 5.1.0constterm=newTerminal({linkHandler:{// If you explicitly support and sanitize the linksallowNonHttpProtocols:true,    ...}};

🎉 New real-world use cases


📥 Addons

xterm-addon-attach

  • Warn/throw on unexpected attach addon socket state (#4208) via@Tyriar

xterm-addon-canvas

  • Share texture atlases between the webgl and canvas renderers (#4170,#4168,#4182) via@Tyriar
  • Fix glyphs becoming garbled or invisible (#4189) via@Tyriar
  • Disable canvas ImageBitmap optimization on Safari (#4219) via@Tyriar
  • Correctly offset minimumContrastRatio check (#4239) via@Tyriar
  • Fix line height and letter spacing rendering (#4305) via@Tyriar
  • Fix canvas renderer selection not re-rendering sometimes (#4325) via@Tyriar

xterm-addon-serialize

  • Fallback to default ansi colors when running xterm-headless (#4196) via@silamon

xterm-addon-webgl

xterm-addon-web-links

  • Major rework of the addon (#4288) via@jerch. This adds support for more URLs, fixes underlines sometimes being incorrect and changes the regex. There will be regressions in previous behavior with this but overall it's in a much better state. If you find any problems please report them to us.
  • Add 1024 character limit (#4251) via@Tyriar

🤝 Compatible addon versions

  • xterm-addon-attach@0.7.0
  • xterm-addon-fit@0.7.0
  • xterm-addon-ligatures@0.6.0
  • xterm-addon-search@0.11.0
  • xterm-addon-serialize@0.9.0
  • xterm-addon-unicode11@0.5.0
  • xterm-addon-web-links@0.8.0
  • xterm-addon-webgl@0.14.0

Contributors

  • @dstein64
  • @coderaiser
  • @Tyriar
  • @bugwheels94
  • @jerch
  • @JasonXJ
  • @Nokel81
  • @jeanp413
  • @dependabot
  • @BattlefieldDuck
  • @meganrogge
  • @silamon
  • @hackermondev
dstein64, coderaiser, and 11 other contributors
Loading

5.0.0

15 Sep 20:00
904ddff
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

v5 is here! This is our largest release in a long time, maybe ever 👀

Since this was a major version bump, we used the opportunity to clean up the API and make other breaking changes. Many of these changes enabled a significant reduction in thexterm module bundle size which went from 379kb to 265kb for a 30% reduction!

🚀 Features

Underline style and color support (#3921,#3976,#3980,#4053,#4068,#4074,#4077,#4109) via@Tyriar

Underline style and color sequences such asCSI 4:2m ST for double underlines are now supported:

image

Some work was also done to improve underline rendering overall, characters with long descenders don't overlap with the underline:

image

Hyperlink escape sequence support (#4005,#4087,#4088) via@Tyriar,@jerch

Building upon the improved underline rendering, hyperlink escapesoutlined in this gist are now supported. They will be rendered using a dashed underline (likeCSI 4:5m ST):

image

Along with this is a newlinkHandler option which allows controling hover, leave and activate events, for example to show a custom tooltip. VS Code's implementation looks like this:

image

Smooth scroll support (#3940) via@Tyriar

The newsmoothScrollDuration allows setting a duration in milliseconds to animate scroll between the origin and target positions. This is most useful when using a physical mouse (not a trackpad) to help not disorient the user when scrolling with the mouse wheel.

Canvas renderer addon (#3949,#3950,#3954,#3959,#3961,#3981) via@Tyriar

The canvas renderer has moved into an addon, significantly reducing the bundle size of thexterm module. This used to be the default renderer and is now recommended only as a fallback to the webgl addon if that does not work for some reason (eg. no webgl2 support).

New VT feature support (#4093,#4095,#4098)via@jerch

xterm.js handles several new VT sequences:

Other features

  • Powerline semi-circle glyphs are now custom rendered (#3891) via@sbatten
  • Inactive selection background (#3965) via@Tyriar -ITheme.selectionInactiveBackground will now change the selection color when the terminal is not focused
  • Support setting extended ansi colors 16-255 (#3905,#3909) via@silamon,@Tyriar
  • Theparser andbuffer APIs are now stable (#3951) via@Tyriar
  • Rendering should now work when opening xterm.js in a popout window (#4069) via@mihaip

🐞 Bug fixes

  • Fix an exception when markers are deleted (#3888,#3901) via@Tyriar
  • Make corner box glyphs uniformly round (#3895) via@Tyriar
  • Fix changingallowTransparency from its initial value in theTerminal constructor (#3899) via@Tyriar
  • Throw when setting an invalidcursorStyle (#3900) via@Tyriar
  • Allow markers in the alt buffer (#3924) via@silamon
  • Retain hue when minimum contrast ratio flips luminance (#3929) via@Tyriar
  • Remove shift+backspace -> ^H binding (#3935) via@Tyriar
  • Fix disabling the webgl addon in the demo (#3988) via@Tyriar
  • Improve deletion handling on Android (#4007) via@ink404
  • Fix performance regression introduced with decoration support (#4080) via@Tyriar

📝 Documentation and internal improvements

🛑 Breaking changes

  • bellSound andbellStyle options as well as the previously builtin sound have been removed (#3941) via@Tyriar. This reduces the bundle size while still allowing the embedder to support the terminal bell via theTerminal.onBell API

    // before 5.0.0term=newTerminal({bellStyle:'sound'});// after 5.0.0term=newTerminal();term.onBell(()=>{// Play a sound});
  • The link matcher APIregisterLinkMatcher andderegisterLinkMatcher have been removed in favor of the link provider API (#3944) via@Tyriar.

  • TheallowProposedApi option now defaults tofalse, set this totrue to opt-in to proposed API usage if you understand the implications (#3945) via@Tyriar

    // before 5.0.0term=newTerminal({});term.someProposedApi();// after 5.0.0term=newTerminal({allowProposedApi:true});term.someProposedApi();
  • The deprecatedaddMarker API has been removed in favor ofregisterMarker (#3946) via@Tyriar. They are functionally equivalent.

  • The deprecatedgetOption andsetOption APIs have been removed in favor ofoptions (#3947) via@Tyriar

    // before 5.0.0term.setOption('scrollback',1000);console.log(term.getOption('scrollback'));// after 5.0.0term.options.scrollback=1000;console.log(term.options.scrollback);
  • The deprecatedwriteUtf8 API has been removed in favor ofwrite (#3947) via@Tyriar.

    constarr=newUint8Array(10);// before 5.0.0term.writeUtf8(arr);// after 5.0.0term.write(arr);
  • ISelectionPosition have been removed from the API in favor ofIBufferRange (#3952) via@Tyriar

  • cols androws options can now only be set in the constructor (#3960,#3972,#4078) via@Tyriar,@silamon

    // before 5.0.0term.setOption('cols',10);// after 5.0.0term.resize(10,term.rows);
  • ITheme.selection has been renamed toselectionBackground for consistency (#3964) via@Tyriar

    // before 5.0.0term.options.theme={selection:'#000000'};// after 5.0.0term.options.theme={selectionBackground:'#000000'};
  • TheTerminal.options getter now returns aRequired<ITerminalOptions> instead of justITerminalOptions for better correctness. Along with this changefastScrollModifier now accepts'none' instead ofundefined

    // before 5.0.0newTerminal({fastScrollModifier:undefined});// after 5.0.0newTerminal({fastScrollModifier:'none'});

🎉 New real-world use cases


📥 Addons

xterm-addon-canvas

xterm-addon-fit

  • Fix return type ofproposeDimensions to includeundefined (#3882) via@jerch

xterm-addon-ligatures

  • Warn when ligature fonts fail to download (#3933) via@Tyriar
  • Fix the addon in the latest version of Chrome (#3936) via@Tyriar
  • Fallback ligatures are now supported, allowing ligatures to work without font access (#3963) via@Tyriar
  • Remove electron renderer and node targets (#4002,#4003) via@Tyriar

xterm-addon-web-links

  • The link matcher-based implementation has been removed in favor of the link provider implementation (#3944) via@Tyriar

xterm-addon-webgl

More efficient GPU memory usage using new texture atlas packing strategy (#3979) via@Tyriar

The previous naive texture packing strategy which only allowed adding to the "active row" or below has been replaced with a new strategy that uses multiple active rows and adds glyphs to the most suitable row based on its pixel height. This leads to more effective usage of the texture xterm.js uploads to the GPU, meaning it's harder to reset the texture when it becomes filled (which is more likely to happen when screen scale is high).

Before:

image

After:

image

Other changes

  • Release webgl resources when the addon is disposed (#3890) via...
Read more

Contributors

  • @sorenisanerd
  • @mihaip
  • @kenrussell
  • @Tyriar
  • @SvanT
  • @ink404
  • @jerch
  • @sbatten
  • @JasonXJ
  • @mathiscode
  • @wuchihsu
  • @GreenMashimaro
  • @jeanp413
  • @silamon
  • @fu1996
  • @deepanshu44
  • @uellenberg
sorenisanerd, mihaip, and 15 other contributors
Loading
7PH, Yukaii, babakks, astefanutti, PKief, tsl0922, skyclo, childrentime, felladrin, alanhe421, and 11 more reacted with thumbs up emojicoderaiser, puntertram, and thunderpoot reacted with hooray emojipfitzseb, tsl0922, skyclo, felladrin, Yonle, Displee, coderaiser, puntertram, Nokel81, FindDefinition, and ekzhang reacted with rocket emoji
25 people reacted

4.19.0

29 Jun 17:19
4a61642
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

🚀 Features

  • The minimum contrast ratio feature will now change luminance in the opposite direction if the contrast ratio isn't met (#3806,#3808) via@Tyriar. For example a red foreground on a slightly darker red background will try lighten the color and if theminimumContrastRatio option isn't met when#FFFFFF is reached it will try moving it towards#000000. This can cause somewhat unexpected results by changing explicitly styled whites to blacks for example but it's really good for accessibility.
  • The library now supports parsing#rgb,#rgba,rgb(r, g, b) andrgba(r, g, b, a) color formats (#3815,#3819,#3823) via@ChaseKnowlden,@Tyriar
  • OpaqueselectionBackground is now supported in the DOM renderer (#3839) via@Tyriar
  • The symbol powerline font glyphs now use custom rendering whenITerminalOptions.customGlyphs is enabled (#3856,#3862,#3866) via@Tyriar
    image
    This has multiple benefits:
    • A patched powerlines font doesn't need to be installed to render the most common characters
    • Ugly lines due to anti-aliasing that can appear no longer do
    • The glyphs always use greyscale anti-aliasing (not sub-pixel)
    • ITerminalOptions.lineHeight is taken into account when rendering the glyph

📦 API

  • The overview ruler is a companion feature to the decorations introduced in 4.18.0 which shows little indicators on the scroll bar (#3676,#3687,#3688,#3689,#3693,#3694,#3695,#3697,#3702,#3711,#3723,#3730,#3733,#3738,#3788,#3791,#3792,#3841) via@meganrogge,@Tyriar. To use it, add theoverviewRulerOptions property to a decoration'sIDecorationOptions and it will automatically show up in the overview ruler.
    constmarker=term.addMarker(1);constdecoration=term.registerDecoration({  marker,x:5,overviewRulerOptions:{color:'#FF0000',position:'left'}});decoration.onRender(()=>{decoration.element.style.backgroundColor='red';});
    The width of the resulting overview ruler is controlled byITerminalOptions.overviewRulerWidth.
  • Decorations can now change a cell's background and foreground colors (#3775,#3782) via@Tyriar. When this is set, the minimum contrast ratio feature will also be in effect.
    constdecoration=term.registerDecoration({  marker,backgroundColor:'#ff0000',foregroundColor:'#ffffff'});
  • Decorations can now specify the layer property to allow rendering above the selection (#3785,#3800) via@Tyriar
    constdecoration=term.registerDecoration({  marker,layer:'top'});
  • There's a newselectionForeground theme color, when set this will use a static color for selections (#3813) via@Tyriar
    constterm=newTerminal({theme:{selectionBackground:'#000000',selectionForeground:'#FFFFFF'}});

🐞 Bug fixes

  • Fix triple click selection edge case where initial line was getting unselected (#3669) via@silamon
  • Fixing edge cases when clearing decorations viaTerminal.clear (#3671,#3868) via@meganrogge
  • Handle missing compositionend events for Sogou IME (#3680) via@Eugeny
  • Fix a bug when running emacs by preferring ST over BEL (#3704) via@meganrogge
  • Fix Alt-N/E/U handling in macOS, handle Alt-Shift-Letter (#3726) via@Eugeny
  • Fix caps lock while IMEs are being used preventing lowercase input (#3728) via@serkodev
  • Exclude powerline characters from the minimum contrast ratio feature (#3740,#3742) via@meganrogge
  • Send ctrl modifier for page up/down sequences (#3761) via@Tyriar
  • Send record separator on ctrl+@ (#3763) via@robinfai
  • Switching from webgl to dom renderer will now correctly reposition decorations (#3779) via@Tyriar
  • Decorations are now rendered in the same frame as the buffer, ensuring they stay in sync (#3796,#3818) via@meganrogge
  • FireonSelectionChange whenTerminal.select is called (#3805) via@Tyriar
  • Padding is now taken into account when converting mouse coordinates to cell positions (#3826) via@Tyriar
  • Exclude box drawing and block glyphs from the minimum contrast ratio as they are typically used to blend with background colors (#3844) via@meganrogge
  • Fix a minimum contrast ratio edge case with inverted text in the DOM renderer (#3846) via@meganrogge
  • Only send the wheel mouse event when scrolling a line or more (#3869) via@pfitzseb

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-search

xterm-addon-serialize

xterm-addon-web-links

xterm-addon-webgl

  • Simplified and sped up selection rendering by leveraging the decorations feature (#3782,#3860) via@Tyriar

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.5.3
  • xterm-addon-search@0.9.0
  • xterm-addon-serialize@0.7.0
  • xterm-addon-unicode11@0.3.0
  • xterm-addon-web-links@0.6.0
  • xterm-addon-webgl@0.12.0

🌐 Website

Contributors

  • @Eugeny
  • @LuckyGeck
  • @crcastle
  • @coderaiser
  • @robinfai
  • @Tyriar
  • @mmis1000
  • @lp1dev
  • @CommanderRoot
  • @pfitzseb
  • @fixator10
  • @dependabot
  • @meganrogge
  • @silamon
  • @serkodev
  • @ChaseKnowlden
  • @MOBUMIN
  • @childrentime
  • @umaxyon
Eugeny, LuckyGeck, and 17 other contributors
Loading
weihanglo, piyushchauhan2011, and thutterer reacted with rocket emoji
3 people reacted

4.18.0

28 Feb 17:13
a8fbc8d
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

📦 API

  • Support buffer decorations (#1852) via@meganrogge

    constmarker=term.addMarker(1);constdecoration=term.registerDecoration({ marker,x:5});decoration.onRender(()=>{decoration.element.style.backgroundColor='red';});

    Screen Shot 2022-02-28 at 11 08 39 AM

  • Make registerMarker's cursor offset optional (#3663) via@childrentime

    // BeforeconstmarkerAtCursor=term.registerMarker(0);// AfterconstmarkerAtCursor=term.registerMarker();

🐞 Bug fixes

📝 Documentation and internal improvements

🎉 New real-world use cases


🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.5.3
  • xterm-addon-search@0.8.2
  • xterm-addon-serialize@0.6.2
  • xterm-addon-unicode11@0.3.0
  • xterm-addon-web-links@0.5.1
  • xterm-addon-webgl@0.11.4

Contributors

  • @Tyriar
  • @meganrogge
  • @childrentime
  • @hello-smile6
Tyriar, meganrogge, and 2 other contributors
Loading
childrentime, puntertram, zxdong262, and xXRedkydudashXx reacted with hooray emoji
4 people reacted

4.17.0

03 Feb 15:22
c3261be
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

🚀 Features

📦 API

  • Allow setting multipleoptions in thexterm-headless API too (#3599) via@silamon

🐞 Bug fixes

  • Resolve perf regression from OptionsService.options (#3559) via@silamon
  • Prevent exception that could be thrown when reducing the width of the terminal (#3604) via@Tyriar
  • Fix text baseline in legacy Edge (#3621) via@felixse

📝 Documentation and internal improvements

🎉 New real-world use cases


📥 Addons

xterm-addon-ligatures

xterm-addon-web-links

🤝 Compatible addon versions

  • xterm-addon-attach@0.6.0
  • xterm-addon-fit@0.5.0
  • xterm-addon-ligatures@0.5.2
  • xterm-addon-search@0.8.2
  • xterm-addon-serialize@0.6.1
  • xterm-addon-unicode11@0.3.0
  • xterm-addon-web-links@0.5.1
  • xterm-addon-webgl@0.11.4

🌐 Website

Contributors

  • @wesbos
  • @erulabs
  • @Tyriar
  • @LabhanshAgrawal
  • @Aaaaash
  • @syssecfsu
  • @felixse
  • @silamon
  • @hello-smile6
wesbos, erulabs, and 7 other contributors
Loading
mxschmitt, 0xfeeddeadbeef, UndeadMe, badsyntax, puntertram, and wingh88 reacted with hooray emoji
6 people reacted
Previous134589
Previous

[8]ページ先頭

©2009-2025 Movatter.jp