Skip to content

Commit

Permalink
gh actions build fixes?
Browse files Browse the repository at this point in the history
  • Loading branch information
a-n-t-h-o-n-y committed Feb 15, 2024
1 parent fbd344b commit bbca5b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ int main()
.background = XColor::Cyan,
.foreground = TrueColor{0xF02127},
.traits = Trait::Italic,
}) << "Hello"
}) << "Hello"

<< escape(Brush{}) << " 👽 "

<< escape(
fg(TrueColor{0x76F09C}),
Trait::Bold | Trait::Underline
) << "World!"
fg(TrueColor{0x76F09C}),
Trait::Bold | Trait::Underline
) << "World!"

<< escape(Brush{}) << std::endl;
}
Expand Down
10 changes: 2 additions & 8 deletions src/terminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,9 @@ void fix_ctrl_m()
::tcsetattr(STDIN_FILENO, TCSAFLUSH, &settings);
}

[[nodiscard]] constexpr auto turn_off_auto_wrap() -> std::string
{
return "\033[?7l";
}
[[nodiscard]] auto turn_off_auto_wrap() -> std::string { return "\033[?7l"; }

[[nodiscard]] constexpr auto turn_on_auto_wrap() -> std::string
{
return "\033[?7h";
}
[[nodiscard]] auto turn_on_auto_wrap() -> std::string { return "\033[?7h"; }

auto original_termios = ::termios{};

Expand Down

0 comments on commit bbca5b0

Please sign in to comment.