Skip to content

Commit

Permalink
Reserve SELECTION_FOREGROUND and keep fg/bg in the right order
Browse files Browse the repository at this point in the history
  • Loading branch information
DHowett committed Aug 21, 2024
1 parent 48d8a3e commit 018bbf8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/buffer/out/TextColor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 018bbf8

Please sign in to comment.