We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unless I'm missing something, console.rs wraps get_default_background but not get_default_foreground.
I'd think the fix would be something like adding:
fn get_default_foreground(&mut self) -> Color { unsafe { FromNative::from_native( ffi::TCOD_console_get_default_foreground(*self.as_native())) } }
to console.rs since it looks like everything else is there at the c level.
The text was updated successfully, but these errors were encountered:
Yep, looks like it!
Would you mind opening a pull request? That snippet looks good to me.
Sorry, something went wrong.
Will do, one sec....
No branches or pull requests
Unless I'm missing something, console.rs wraps get_default_background but not get_default_foreground.
I'd think the fix would be something like adding:
to console.rs since it looks like everything else is there at the c level.
The text was updated successfully, but these errors were encountered: