Skip to content

Commit

Permalink
fix: shell integretion
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Mar 6, 2023
1 parent 49f735d commit d30fcdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/utils/shell-integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export class ShellIntegrationAddon implements ITerminalAddon {
this.tab.idle = true
this.disposables = []
this.commands = []
this.highlightMarkers = []
}

activate(xterm: Terminal) {
Expand Down Expand Up @@ -297,6 +298,7 @@ export class ShellIntegrationAddon implements ITerminalAddon {
el.style.setProperty('--color', `${rgba.r} ${rgba.g} ${rgba.b}`)
el.classList.add('terminal-highlight-block')
})
this.highlightMarkers.push(highlightMarker)
}
}

Expand Down

0 comments on commit d30fcdb

Please sign in to comment.