mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-30 15:21:16 -03:00
output: One more unconst-cast for tputs
Needed on Solaris/OpenIndiana/Illumos/SunOS.
This commit is contained in:
@@ -550,7 +550,7 @@ rgb_color_t parse_color(const env_var_t &var, bool is_background) {
|
||||
/// Write specified multibyte string.
|
||||
void writembs_check(const char *mbs, const char *mbs_name, bool critical, const char *file, long line) {
|
||||
if (mbs != NULL) {
|
||||
tputs(mbs, 1, &writeb);
|
||||
tputs((char *)mbs, 1, &writeb);
|
||||
} else if (critical) {
|
||||
auto term = env_stack_t::globals().get(L"TERM");
|
||||
const wchar_t *fmt =
|
||||
|
||||
Reference in New Issue
Block a user