ConEmu / old-issues

Old issues for ConEmu project (import is pending)
http://conemu.github.io/
0 stars 1 forks source link

Unsupported color palette change #982

Open ConEmu opened 9 years ago

ConEmu commented 9 years ago

From gynvael on March 09, 2013 23:47:55

Required information! OS version: Win7 SP1 x64 ConEmu version: 130304 Far version (if you are using Far Manager): n/a Bug description Windows Console allows you to change the color palette by using the CONSOLE_SCREEN_BUFFER_INFOEX structure (in Windows 7; in previous Windows this was probably possible, but not supported/documented). If such request is made, ConEmu displays the colors incorrectly (sticking with the old palette). See attached screenshot. Steps to reproduction 1. Compile the attached listing (colors_test.cpp) with your favorite C++ and run it. NOTE: You might have to uncomment lines 18-40 in case your header files don't have the CONSOLE_SCREEN_BUFFER_INFOEX structure defined.

  1. Observe another console window popping up for a second.
  2. Observe colors being rendered incorrectly (see attached screenshot; see http://gynvael.coldwind.pl/img/colors_conhost.png for how it should look like)

NOTE: This is probably very little priority bug.

Attachment: colors_test.cpp rep.png

Original issue: http://code.google.com/p/conemu-maximus5/issues/detail?id=982

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on March 10, 2013 04:39:46

Generally speaking, this is not a bug. ConEmu uses its own palettes, moreover, these palettes may be changed/switched automatically when specific application is executed in one tab. (that means each tab may have its own palette).

ATM I see no profit in supporting CONSOLE_SCREEN_BUFFER_INFOEX changes. I beleieve, you may beforehand set up violet palette in ConEmu and choose it in AppDistinct section.