From 018bbf8c653163c21975e73c1bae9ff5268ec9ad Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Mon, 19 Aug 2024 20:08:16 -0500 Subject: [PATCH] Reserve SELECTION_FOREGROUND and keep fg/bg in the right order --- src/buffer/out/TextColor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/buffer/out/TextColor.h b/src/buffer/out/TextColor.h index d7e0edf7615..ef297ef4a7f 100644 --- a/src/buffer/out/TextColor.h +++ b/src/buffer/out/TextColor.h @@ -82,8 +82,9 @@ struct TextColor static constexpr size_t FRAME_FOREGROUND = 263; static constexpr size_t FRAME_BACKGROUND = 264; static constexpr size_t CURSOR_COLOR = 265; - static constexpr size_t SELECTION_BACKGROUND = 266; - static constexpr size_t TABLE_SIZE = 267; + static constexpr size_t SELECTION_FOREGROUND = 266; + static constexpr size_t SELECTION_BACKGROUND = 267; + static constexpr size_t TABLE_SIZE = 268; constexpr TextColor() noexcept : _meta{ ColorType::IsDefault },