When running zsh inside conemu, the update of console lines stops working. I do not know how exactly this function is called.

For example, when installing with pacman (using ssh, I connect to the arch server, which also has zsh with the same config) or another package manager, a progress bar is displayed in the console, which is constantly updated.

Tolley it used to work and I hurt something in the settings, I installed the update. In short, instead of updating the existing line, conemu prints a new one below the old one. Screen for understanding attached.

enter image description here

How to return normal behavior?

  • .zshrc to the studio - Gedweb
  • I do not mind , but it is useless to look for a problem in zshrc. As I wrote above, everything works as it should through the cygwin terminal. Plus, this is a long-running config that I use on all the machines I work with (arch, debian, ubuntu, freebsd, ...) - hxss
  • echo $ TERM that displays? - Gedweb
  • In conemu, to run zsh, I use the following command: C: \ cygwin64 \ bin \ zsh.exe -l -i -new_console: a. Variable TERM = cygwin. I tried zsh outside of conemu (in cmd like) - the same problem with the update. And the terminal, which was installed with cygwin and where the update of the lines works, runs like this: C: \ cygwin64 \ bin \ mintty.exe -i /Cygwin-Terminal.ico TERM = xterm I tried to open this mintti in conemu - update lines work. But from the experience of using this terminal I know that it is very buggy and I don’t want to base a solution to it. - hxss
  • I also tried zsh to run in powershell - the same problem. In principle, the direction of the decision is clear - it is necessary to change the terminal so that it supports unix methods for outputting / updating lines. What alternatives can you recommend besides pollock? - hxss

1 answer 1

Here is a description of the same problem in English.

Here is a guide to solve the problem. ConEmu author wrote special connectors so that cygwin and msys2 work correctly with this terminal.