mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
fmt!
This commit is contained in:
parent
abc1a45ea1
commit
84d8655677
1 changed files with 8 additions and 2 deletions
|
@ -619,9 +619,15 @@ fn init_curses(vars: &EnvStack) {
|
|||
// We do not warn for xterm-256color at all, we know that one.
|
||||
if term != Some("xterm-256color".into()) {
|
||||
if let Some(term) = term {
|
||||
FLOG!(warning, wgettext_fmt!("Could not set up terminal for $TERM '%ls'", term));
|
||||
FLOG!(
|
||||
warning,
|
||||
wgettext_fmt!("Could not set up terminal for $TERM '%ls'", term)
|
||||
);
|
||||
} else {
|
||||
FLOG!(warning, wgettext!("Could not set up terminal because $TERM is unset."));
|
||||
FLOG!(
|
||||
warning,
|
||||
wgettext!("Could not set up terminal because $TERM is unset.")
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue