-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Term:cout clog cerr cin #271
Conversation
I will have a try. However, you may have to wait until the 19th for me to get to it. |
@TobiasWallner No problem, thanks for the time you involve on it. I do some basic test on Linux, Windows and less on Macos but but it's always nice to have more tries from people using the library. I'm still focusing on improving the library before using it on moving to it on my other projects |
like std::println() one ? |
@TobiasWallner I checked this and it seems it appeared before this PR so it's not a regression of this PR but it is a bug we need to fix on the future. |
I am not quite sure, if I can follow your thought prozess. If I am not mistaken then the Idea of ptrintln is to have a newline character and a flush at the end. If your Idea of println is that the provided string will get printed directly and not written to a in between buffer before finally printing it, then yes. That, I would say, is something of lower priority. It would be a nice to have but is not necessary. |
Yes as soon as this is merged this kind of function will be easily added. I agree this could be very useful |
@TobiasWallner I found the bug, thx for your report. I will push it and you can have a try |
@TobiasWallner The bugs you mentioned should be fixed by the last commits |
@TobiasWallner Could you confirm the bugs are gone ? I made some basic tests on the 3 OS but it's always nice to have cross-checks. @certik What do you think about this PR ? |
This is still present on my windows machine I am on commit: 2d8f9e0 |
Strange i fixed it but today it appeared again on my laptop. Need more investigation |
I will have a look tomorrow |
Should be fixed now (I hope :) ) |
I had a check of commit ddd4113 and the console closes propperly now 👍 |
@TobiasWallner you didn't find any problem integrating with your software ? If not I think I should merged it to allow a polishing later. The basic is here |
I only needed to change the header files from |
Nice, for now we don't assure API so it's ok I think the name iostream.hpp help people to understand what they espect to have including it |
I will merge then. I really want to have this mainstream because with a bit of work it would allow to have color with old terminal in windows and all other escape code.. we need to parse the string but at least it can be done. |
First step to split terminal from "iostream" on it. @TobiasWallner Maybe there is some improvements on speed in Windows. You can have a try