Skip to content

Commit

Permalink
Change default Glyph symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
a-n-t-h-o-n-y committed Feb 26, 2024
1 parent 8831900 commit 453ecac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/esc/glyph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace esc {
* displayed.
*/
struct Glyph {
char32_t symbol = U'\0';
char32_t symbol = U' ';
Brush brush = {};

[[nodiscard]] constexpr bool operator==(Glyph const&) const = default;
Expand Down
2 changes: 1 addition & 1 deletion tests/glyph.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ TEST_CASE("Constructor", "[Glyph]")
SECTION("Default")
{
auto const glyph = Glyph{};
REQUIRE(glyph.symbol == U'\0');
REQUIRE(glyph.symbol == U' ');
REQUIRE(glyph.brush == Brush{});
}

Expand Down

0 comments on commit 453ecac

Please sign in to comment.