Compare commits

..

2 Commits

Author SHA1 Message Date
ArthurSonzogni
424a0241cd
Add CHANGELOG 2025-06-20 15:46:33 +02:00
ArthurSonzogni
a68cf6ac08
Fix test. 2025-06-20 15:45:26 +02:00
2 changed files with 9 additions and 3 deletions

View File

@ -25,6 +25,10 @@ Next
```
Thanks @mikomikotaishi for PR #1015.
### Component
- Fix ScreenInteractive::FixedSize screen stomps on the preceding terminal
output. Thanks @zozowell in #1064.
6.1.9 (2025-05-07)
------------

View File

@ -195,7 +195,9 @@ TEST(ScreenInteractive, FixedSizeInitialFrame) {
Loop loop(&screen, component);
loop.RunOnce();
}
ASSERT_EQ(
using namespace std::string_view_literals;
auto expected =
// Install the ScreenInteractive.
"\0" // Flush stdout.
"\x1BP$q q" // Set cursor shape to 1 (block).
@ -236,8 +238,8 @@ TEST(ScreenInteractive, FixedSizeInitialFrame) {
"\0" // Flush stdout.
// Skip one line to avoid the prompt to be printed over the last drawing.
"\r\n",
output);
"\r\n"sv;
ASSERT_EQ(expected, output);
#endif
}