ConEmu icon indicating copy to clipboard operation
ConEmu copied to clipboard

Tabs not working after far "detach" (System.ConsoleDetachKey)

Open pyhedgehog opened this issue 9 years ago • 5 comments

Versions

ConEmu build: 160710 x64 OS version: Windows 7 Pro x64 Far Manager: 3.0 (build 4700) x64

Problem description

After far detach viewer/editor tabs not working.

Steps to reproduce

  1. Configure in far:config variable System.ConsoleDetachKey to some non-conflicting value (i.e. CtrlShiftZ)
  2. Run "C:\Program Files\Far Manager\ConEmu64.exe" -log -NoSingle -basic
  3. From far run some long-running process (i.e. ping -t 127.0.0.1)
  4. Press key configured on step 1 (ctrl+shift+z)
  5. Open some file in far viewer or editor.

Actual results

Two tabs (ping and far viewer).

Expected results

Three tabs (ping, far panels and far viewer)

Additional files

logs

pyhedgehog avatar Jul 18 '16 20:07 pyhedgehog

Was also curious about that. Extra note: the detached Far has regular Far colors (i.e. as if you run standalone Far), not ConEmu color scheme colors. It appears that ConEmu and Far don't interoperate regarding Far's internal console detach feature?

gene-pavlovsky avatar Oct 03 '16 09:10 gene-pavlovsky

At the moment, when ConEmu attaches any RealConsole, the colorscheme from that console is always used. That may be critical for applications started outside of ConEmu, but of course looks like a limitation for Far's detach feature.

Maximus5 avatar Oct 03 '16 09:10 Maximus5

Is there a way to setup a ConEmu hotkey that opens a new Far tab with the same active AND passive panels as the currently active Far tab? If I set up a Far task with /dir "%CD%" option and ... Far.exe "!ConEmuWorkDir!", then run it via a hotkey, the new tab opens with the active panel equal to the last tab's active panel. But I have no idea how to propagate the passive panel as well. If that is possible, this could be the ConEmu-friendly solution for some use cases when somebody might want to use Far's console detach feature (of course, that doesn't copy the environment variables from old Far to new Far, maybe something else too?).

gene-pavlovsky avatar Oct 03 '16 11:10 gene-pavlovsky

In 200615 it's still here. Maybe you can hint how to formulate FR to far?

pyhedgehog avatar Jun 19 '20 01:06 pyhedgehog

Version 220418. Issue still here.

pyhedgehog avatar Jun 15 '22 22:06 pyhedgehog