mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-07-24 21:21:12 +08:00
Compare commits
No commits in common. "424a0241cda284f2ca0db20f745c2a7cb4c8a12c" and "4f1a694e81af030f0c34e459e74b07a78503427f" have entirely different histories.
424a0241cd
...
4f1a694e81
@ -25,10 +25,6 @@ Next
|
|||||||
```
|
```
|
||||||
Thanks @mikomikotaishi for PR #1015.
|
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)
|
6.1.9 (2025-05-07)
|
||||||
------------
|
------------
|
||||||
|
@ -195,9 +195,7 @@ TEST(ScreenInteractive, FixedSizeInitialFrame) {
|
|||||||
Loop loop(&screen, component);
|
Loop loop(&screen, component);
|
||||||
loop.RunOnce();
|
loop.RunOnce();
|
||||||
}
|
}
|
||||||
using namespace std::string_view_literals;
|
ASSERT_EQ(
|
||||||
|
|
||||||
auto expected =
|
|
||||||
// Install the ScreenInteractive.
|
// Install the ScreenInteractive.
|
||||||
"\0" // Flush stdout.
|
"\0" // Flush stdout.
|
||||||
"\x1BP$q q" // Set cursor shape to 1 (block).
|
"\x1BP$q q" // Set cursor shape to 1 (block).
|
||||||
@ -238,8 +236,8 @@ TEST(ScreenInteractive, FixedSizeInitialFrame) {
|
|||||||
"\0" // Flush stdout.
|
"\0" // Flush stdout.
|
||||||
|
|
||||||
// Skip one line to avoid the prompt to be printed over the last drawing.
|
// Skip one line to avoid the prompt to be printed over the last drawing.
|
||||||
"\r\n"sv;
|
"\r\n",
|
||||||
ASSERT_EQ(expected, output);
|
output);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user