rlutil icon indicating copy to clipboard operation
rlutil copied to clipboard

C and C++ utilities for cross-platform console roguelike game creation.

Results 13 rlutil issues
Sort by recently updated
recently updated
newest added

Allow setting color and background color, as well as resetting color, for standard error output.

Tested on iTerm2.app and Terminal.app on OSX Catalina. I couldn't get they arrow keys (Clang++ std=c++2a) using rlutil::getKey(). Multiple ANSI character sequences don't get handled properly because cnt variable is...

Code doesn't currently compile if UNICODE is defined, this fixes that

`WriteConsoleOutputCharacter` call did not compile on my version of MSVC. I think that's because when Unicode support is turned on, the call expects second argument to be of type `wchar_t`,...

`usleep()` has been removed in POSIX 2008, C code that includes `rlutil.h` will not compile if `_POSIX_C_SOURCE` is set to `200809L` or greater. `nanosleep()` from `time.h` is a suggested alternative...

Hello, I tried to use rlutil.h in C, but when I include it in multiple file, "const RLUTIL_STRING_T ANSI_[..]" have multiple declaration, so I had to make a rlutil.c with...

There is a problem with the `setConsoleTitle` function. It uses `const char *` as string parameter for the print function when compiling with C++. This seems to be a problem...

In unicode mode, WriteConsoleOutputCharacter is set to WriteConsoleOutputCharacterW which needs string as LPCWSTR. str_ has to be converted LPCWSTR value.