mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +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());
|
||||
|
||||
terminal_protocol_hacks();
|
||||
IN_MIDNIGHT_COMMANDER_PRE_CSI_U
|
||||
.store(parser.vars().get_unless_empty(L!("__mc_csi_u")).is_none());
|
||||
IN_MIDNIGHT_COMMANDER_PRE_CSI_U.store(
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user