refactor: remove syntactic deps on main crate

Part of #12625
This commit is contained in:
Daniel Rainer
2026-04-10 16:53:05 +02:00
committed by Johannes Altmanninger
parent 63cf79f5f6
commit eb478bfc3e

View File

@@ -1,15 +1,13 @@
use libc::VERASE;
use crate::{
common::{EscapeFlags, EscapeStringStyle, escape_string},
flog::FloggableDebug,
prelude::*,
reader::safe_get_terminal_mode_on_startup,
wutil::fish_wcstoul,
common::escape_string, flog::FloggableDebug, localizable_string,
reader::safe_get_terminal_mode_on_startup, wgettext_fmt, wutil::fish_wcstoul,
};
use fish_common::{EscapeFlags, EscapeStringStyle};
use fish_fallback::fish_wcwidth;
use fish_feature_flags::{FeatureFlag, feature_test};
use fish_widestring::decode_byte_from_char;
use fish_widestring::{L, WExt as _, WString, decode_byte_from_char, wstr};
pub(crate) const Backspace: char = '\u{F500}'; // below ENCODE_DIRECT_BASE
pub(crate) const Delete: char = '\u{F501}';