Trying yet another scheme, back to a stream wrapper but with mixins this time.

This commit is contained in:
NaifBanana
2026-01-13 03:21:58 -06:00
parent 0bb5bff559
commit 91ba24703a
2 changed files with 215 additions and 29 deletions
+5 -2
View File
@@ -10,7 +10,10 @@
int main() {
auto test = nb::TerminalColor(9, 2030);
nb::SmartStream<decltype(std::cout), nb::SmartStreamFormatter> stout(std::cout);
stout << nb::SmartText{5} << "\ngoop\n";
/* nb::SmartText test(100);
std::cout << test;
@@ -19,7 +22,7 @@ int main() {
if (file.is_open()) {
file << test;
}
file.close();
file.close(); */
return 0;
}