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.53k stars 572 forks source link

Cannot use the Copy mode of GNU Screen #2389

Closed Xenapte closed 2 years ago

Xenapte commented 2 years ago

Versions

ConEmu build: 210912 x64 OS version: Windows 10 x64 Used shell version: zsh (in WSL)

Problem description

In GNU Screen by pressing Ctrl + A and Esc, one gets into the "copy mode", which basically allows navigating buffers that scrolled off the screen and selecting/copying them, by using the arrow keys. However in ConEmu, pressing arrow keys after entering copy mode will only quit it ("Copy mode aborted"), as if the Esc key is pressed again.

This issue is only present in WSL 1, not 2 - in WSL 2 the copy mode works as expected.

Steps to reproduce

  1. Launch a WSL 1 shell (with GNU Screen installed)
  2. Use screen -S name to create and enter a screen
  3. Press Ctrl + A, then Esc to enter Copy mode
  4. Press any arrow key.

Actual results

Copy mode is quit ("Copy mode aborted").

Expected results

Pressing arrow keys should allow one move the cursor and navigate the buffer.

Maximus5 commented 2 years ago

https://conemu.github.io/en/wsl.html

Xenapte commented 2 years ago

Tried switching on AppKeys mode and it worked. Thanks.