macOS: Render colors in the sRGB colorspace to match other macOS terminal applications

Fixes #2249
This commit is contained in:
Kovid Goyal 2021-07-12 17:34:03 +05:30
parent 3a322c5c6e
commit 368bc91eed
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
window is considered the left and top neighbor and the next window is
considered the bottom and right neighbor (:iss:`3778`)
- macOS: Render colors in the sRGB colorspace to match other macOS terminal
applications (:iss:`2249`)
0.21.2 [2021-06-28]
----------------------

View File

@ -1712,6 +1712,7 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
if (!createNativeWindow(window, wndconfig, fbconfig))
return false;
[window->ns.object setColorSpace:[NSColorSpace sRGBColorSpace]];
if (ctxconfig->client != GLFW_NO_API)
{