mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 05:36:13 +08:00
Only apply kitty protocol MC hack in MC
This deactivated it everywhere
This commit is contained in:
parent
bd9fee417b
commit
0e62178320
|
@ -3977,8 +3977,10 @@ fn reader_interactive_init(parser: &Parser) {
|
||||||
.set_one(L!("_"), EnvMode::GLOBAL, L!("fish").to_owned());
|
.set_one(L!("_"), EnvMode::GLOBAL, L!("fish").to_owned());
|
||||||
|
|
||||||
terminal_protocol_hacks();
|
terminal_protocol_hacks();
|
||||||
IN_MIDNIGHT_COMMANDER_PRE_CSI_U
|
IN_MIDNIGHT_COMMANDER_PRE_CSI_U.store(
|
||||||
.store(parser.vars().get_unless_empty(L!("__mc_csi_u")).is_none());
|
parser.vars().get_unless_empty(L!("MC_TMPDIR")).is_some()
|
||||||
|
&& parser.vars().get_unless_empty(L!("__mc_csi_u")).is_none(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Destroy data for interactive use.
|
/// Destroy data for interactive use.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user