Replies: 5 comments 22 replies
-
Do you mean the name of the scheme or just the colors? |
Beta Was this translation helpful? Give feedback.
-
I have the window handle. I (fancifully) imagined something like
How does the packaged/store version differ, with respect to color schemes, from my unzipped version? |
Beta Was this translation helpful? Give feedback.
-
Is there an OSC4 sequence for querying the palette? |
Beta Was this translation helpful? Give feedback.
-
Thanks, Dustin. I should have thought of that. I know all too well how to chain them when setting colors (i.e., don't use the 11 and the 12). What's OSC 17? Edit: Never mind that, it was easy to find. Are there others besides 10, 11, 12, and 17? My goal was to identify the scheme. Tomorrow I'll look for a minimal set of OSC 4 and OSC 10+ values that ID the scheme. I reckon it'll be only a few. In a C program, where do I look for the responses ... stdin? |
Beta Was this translation helpful? Give feedback.
-
Thank you, Leonard and Dustin. I have something that works. I'm querying the 20 colors separately. I can also do them all at once but so far separately is faster. I noticed something peculiar and I'd be pleased if you'd speculate on what's going on. I do WriteConsole/WaitFor/ReadConsole 20 times (palette, FG, BG, cursor, selectBG, in that order). If I time them individually, I always see a pattern like this (below) which is striking. Any idea what's going on? |
Beta Was this translation helpful? Give feedback.
-
Can an app determine the current color scheme in its tab/pane?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions