From bc206f85da5890964cf9a1153f6a3c7e131e8198 Mon Sep 17 00:00:00 2001
From: ArthurSonzogni <sonzogniarthur@gmail.com>
Date: Mon, 2 May 2022 20:40:04 +0200
Subject: [PATCH] Fix compilation error on Windows for Color::Print

---
 src/ftxui/screen/color.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ftxui/screen/color.cpp b/src/ftxui/screen/color.cpp
index 2d50125e..18be3881 100644
--- a/src/ftxui/screen/color.cpp
+++ b/src/ftxui/screen/color.cpp
@@ -202,7 +202,8 @@ Color Color::Interpolate(float t, const Color& a, const Color& b) {
         return;
       }
 
-      case ColorType::TrueColor: {
+      case ColorType::TrueColor:
+      default: {
         *red = color.red_;
         *green = color.green_;
         *blue = color.blue_;
-- 
GitLab