Skip to content

search for multiple keywords to highlight #4454

Closed Answered by Tyriar
zundaren asked this question in Q&A
Discussion options

You must be logged in to vote

The search addon does this already. You can check out the source of the addon for how to use decorations to do special highlighting like this: https://github.com/xtermjs/xterm.js/blob/master/addons/xterm-addon-search/src/SearchAddon.ts

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zundaren
Comment options

Answer selected by Tyriar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4453 on March 27, 2023 18:01.