Damon Leven

Results 81 comments of Damon Leven

Also: `input.hpp` only contains functions for handling input from the console. `base.hpp` includes everything ansi related.

In early days of windows, the `cmd.exe` wasn't supporting ANSI and microsoft provided an API to set colors. After they added ANSI support to both powershell and cmd we got...

Yeah, we should stick to the docs by microsoft though. They are stating that setting the virtual terminal mode provides well compatibility. So we might get it done that way....

Really nice! So it fails because the older terminal don't support ANSI? then this will be a really quick fix. do you mind making a PR? @flagarde The code that...

Things TODO: - [x] create a function for checking the terminal support for colors - [x] Fix the terminal processing flag being set on windows terminals without support for it...

We should fix the runtime error first and then when we are sure that the fix won't break anything we can move to the colors. How would you print colors...

The auto color function ban be found here https://github.com/jupyter-xeus/cpp-terminal/compare/master...MCWertGaming:cpp-terminal:window_class#diff-153dd787a62f23156ebd61fd1774416f2367288fe1b81068f485cc1dbf4ec463R49. I have created functions for various conversions, mainly for the windows class, like I discussed with @certik a while ago. I...

Really awesome. Thank you really much @flagarde. We have to make out how the old windows32 api works and if the same functionality is provided than with the virtual console...

Hey, does it make sense to implement a lot of code for windows back-wards compatibility when people can just install [ansicon](https://github.com/adoxa/ansicon) and everything will work without any code changes?

For linux: https://www.rosettacode.org/wiki/Terminal_control/Unicode_output#C