mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 23:44:59 +02:00
macOS: Render colors in the sRGB colorspace to match other macOS terminal applications
Fixes #2249
This commit is contained in:
@@ -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
|
window is considered the left and top neighbor and the next window is
|
||||||
considered the bottom and right neighbor (:iss:`3778`)
|
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]
|
0.21.2 [2021-06-28]
|
||||||
----------------------
|
----------------------
|
||||||
|
|||||||
@@ -1712,6 +1712,7 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
|||||||
|
|
||||||
if (!createNativeWindow(window, wndconfig, fbconfig))
|
if (!createNativeWindow(window, wndconfig, fbconfig))
|
||||||
return false;
|
return false;
|
||||||
|
[window->ns.object setColorSpace:[NSColorSpace sRGBColorSpace]];
|
||||||
|
|
||||||
if (ctxconfig->client != GLFW_NO_API)
|
if (ctxconfig->client != GLFW_NO_API)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user