Norman B. Lancaster
Norman B. Lancaster
I'll give you a warning up front: I haven't coded in C++ in 20 years and I'm only just getting back into things. Can you help me understand what you...
@lefticus I am working on it now. I've been buried at work for the past several days but I finally got that issue resolved. Plus I've got some time off...
@agauniyal Input handling could get pretty large. There's a lot of variance between terminals that we could run into. And for some use cases like a terminal-only game terminal output...
I realize now that the test program for some of the conditional output will require user interactivity. So I'm going to work on the input side of things first.
@agauniyal @AxelStrem For windows < 10 see [Windows Console Functions](https://msdn.microsoft.com/en-us/library/windows/desktop/ms682073(v=vs.85).aspx). Use FillConsoleOutputAttribute() and FillConsoleOutputCharacter() to clear the screen.
@agauniyal What do you think of this interface? ``` rang::Key key; std::cin >> rang::control::blocking >> key; if(key == 'q') { /* Do Stuff */ } else if (key.isSpecial()) { switch(key)...
@agauniyal - I'm not so experienced with header-only libraries. So `rang::Key::F1` became `rang::Key::Which::F1`. - This is an enum. - There will be one entry for every non-printable key on the...
@scayze Did you ever mess with this? I was thinking of doing a PR for this.
@scayze I have been looking into this. When I did the POC for .gox file format it toyed with it a bit. Did you know that others have already continued...
I have submitted a PR to clonedeath's repo here: https://github.com/CloneDeath/MagicaVoxel-Importer-with-Extensions/pull/1 Let me know if you would like it upstreamed.