Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.6k stars 573 forks source link

Terminal mode doesn't return to "Windows" after return to far #2302

Open pyhedgehog opened 3 years ago

pyhedgehog commented 3 years ago

Versions

ConEmu build: 210314 x64 OS version: Windows 10 x64 (20H2 - 19042.868) Far Manager: 3.0.5757.0 x64 cygwin (uname -rvm): 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64

Problem description

After running of cygwin command from Far terminal mode changes to XTerm (which is good), but after end of command execution (and return control to Far) it doesn't switches back to Windows.

Steps to reproduce

  1. Start Far manager.
  2. Start uname -a from far (ensure that it's cygwin binary, not i.e. mingw).
  3. Press F1.

Actual results

You will got (in case of F1) key sequence ESC "O" "P" passed to Far.

Expected results

Far help window shown.

изображение изображение

pyhedgehog commented 3 years ago

Workarounds:

  1. (obvious) Change back to windows from status bar.
  2. (convenient) Create hotkey for macro TermMode(0,0).