diff --git a/CHANGELOG.md b/CHANGELOG.md index 521111f..c5abf7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ Changelog current (development) --------------------- +3.0.0 +----- + ### Build - **breaking**: The library prefix is now back to "lib" (the default). This means non-cmake users should not link against "libftxui-dom" for instance. diff --git a/CMakeLists.txt b/CMakeLists.txt index b4c784f..6e5091e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.11) project(ftxui LANGUAGES CXX - VERSION 2.0.0 + VERSION 3.0.0 ) option(FTXUI_BUILD_DOCS "Set to ON to build docs" ON) diff --git a/src/ftxui/screen/color.cpp b/src/ftxui/screen/color.cpp index 7e90c0a..b0a59f1 100644 --- a/src/ftxui/screen/color.cpp +++ b/src/ftxui/screen/color.cpp @@ -147,9 +147,9 @@ Color Color::HSV(uint8_t h, uint8_t s, uint8_t v) { // static Color Color::Interpolate(float t, const Color& a, const Color& b) { - float red; - float green; - float blue; + float red = 0.f; + float green = 0.f; + float blue = 0.f; switch (a.type_) { case ColorType::Palette1: { if (t < 0.5)