Skip to content

freeze the default ANSI colours const#3209

Merged
Tyriar merged 1 commit intoxtermjs:masterfrom
Nokel81:freeze-default-colours
Jan 8, 2021
Merged

freeze the default ANSI colours const#3209
Tyriar merged 1 commit intoxtermjs:masterfrom
Nokel81:freeze-default-colours

Conversation

@Nokel81
Copy link
Copy Markdown
Contributor

@Nokel81 Nokel81 commented Jan 8, 2021

I noticed this code comment while debugging an issue of mine. Object.freeze(...) actually enforces this so I think it would be a good idea to do so.

Copy link
Copy Markdown
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 if tests pass

@Tyriar Tyriar added this to the 4.10.0 milestone Jan 8, 2021
@Tyriar Tyriar enabled auto-merge January 8, 2021 14:51
@Tyriar Tyriar merged commit 3261c53 into xtermjs:master Jan 8, 2021
@Nokel81 Nokel81 deleted the freeze-default-colours branch January 8, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants