Skip to content

Commit

Permalink
fix text selection highlight color clinging bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Pop John committed Oct 28, 2024
1 parent 6154e3d commit 952de6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class MsTerminalXtermComponent implements OnInit, AfterViewInit, OnDestro
selectionForeground: '#000000'
},
allowProposedApi: true,
scrollback: 1000,
...this.options
});

Expand Down
4 changes: 4 additions & 0 deletions frontend/src/app/styles/base/_xterm-terminal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
.xterm-viewport {
overflow-y: auto !important;
}

.xterm-selection {
overflow: hidden;
}

0 comments on commit 952de6b

Please sign in to comment.