Conversation
This reworks DECSTGLT to switch between three colour palettes, and adds three new VT525 colour palettes. Alternate Colour Mode now hides ANSI SGR colours, and the default colour map for this mode now matches the VT525.
This one is pretty easy as K95 already has a setting for it - SET TERM COLOR ERASE. That setting only seemed to take effect on terminal reset though - I don't know if it was a bug or not, but it makes it less useful so I've changed it so that it applies immediately.
Closed
Not sure how these slipped through the 64bit porting work...
The current_palette_max_index() function doesn't take a parameter, but rather than producing a warning the compiler was just falling over.
|
I've got a little test script demonstrating the effects of |
Owner
Author
|
Thanks for that! I'll give it a go this evening, though I suspect the lack of left/right margin support in K95 may present some issues. That's next on my list after finishing off colour support though! |
in RGB builds, as their default palette colours are black in the VT525 palette. Also fixed SHOW GUI not showing the VT525 palettes, and SET TERM COLOR CURSOR not properly updating the cursor colour
When in alternate colour mode
Owner
Author
Owner
Author
Reports current colour palette values in either RGB or HLS format.
Should *always* run the compiler before committing...
Seems to be working fairly well.
I think everything required to claim this is implemented - DECRQCRA still needs to be fixed to report colour attributes, but DECRQCRA isn't covered by this extension so it can happen later.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.







Finish off as much of VT525 colour support as possible, and with it the Colour Text Extension
I think for now I'll leave off a command to let users view and customise the Alternate Colour Mode attribute colours as it seems unlikely to be used.