Skip to content

Commit

Permalink
Use a single overview ruler indicator for command nav
Browse files Browse the repository at this point in the history
Fixes #198437
  • Loading branch information
Tyriar committed Nov 16, 2023
1 parent c2c4439 commit 33244ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ export class MarkNavigationAddon extends Disposable implements IMarkTracker, ITe
const decoration = this._terminal.registerDecoration({
marker: this._createMarkerForOffset(marker, i),
width: this._terminal.cols,
overviewRulerOptions: {
overviewRulerOptions: i === 0 ? {
color: color?.toString() || '#a0a0a0cc'
}
} : undefined
});
if (decoration) {
this._navigationDecorations?.push(decoration);
Expand Down

0 comments on commit 33244ee

Please sign in to comment.