I've re-started my development project, namely writing a console-based journaling app. I'd toyed with a couple other methods, but I wanted something with better organization (and better editing capabilities than jrnl). I did decide on a couple of other things since my last go-round. First, ditching C#. There's a lot to like about it, but I'm mistrustful of MS's sudden change of heart when it comes to this stuff, and the licensing for C# is still a little shaky (it's basically MS pinky-swearing they won't sue). So I'm going to good ol'-fashioned C. This also means that I can just say fuck it and use curses, rather than trying to do everything from scratch. This will make things a billion times easier, if for no other reason that it has the capability to refresh only parts of the screen independent of cursor position. The only thing I'm still trying to figure out is how to get it to use more than 8 colors. It can theoretically create color definitions with RGB, but whatever it does on the back end doesn't seem to come across (or at least it doesn't in Konsole). But since I'm hoping this will work on Windows, and the Windows console is its own animal, I'm probably better off sticking to the basic 8. So off we go, and I hope I don't end up feature-creeping myself into oblivion.
Hopefully I won't either. The only thing I've run into so far was an obnoxious conflict between char and const char (at one point it looked like I was going to have to try to cast between the two), but I resolved that by using a different method for one of them.
It is, but Konsole has always been a little screwy with this stuff. I was doing this same project in C# awhile back, and was using ANSI escape sequences to do colors, and Konsole was the outlier in how it handled this stuff.