torrenttools icon indicating copy to clipboard operation
torrenttools copied to clipboard

torrenttools changing windows cmd behaviour

Open RibShark opened this issue 3 years ago • 4 comments

After executing torrenttools, the arrow keys no longer move the cursor left and right, but produce the escape sequences ("^[[D^" and the like). Backspace is also affected, now deleting entire words rather than single characters.

RibShark avatar Aug 22 '21 17:08 RibShark

This is a known issue with cmd and powershell. The problem is caused by incomplete support for ANSI escape sequences which are used for formatting and terminal cursor placement. You should use a modern terminal client like the new Windows Terminal app to avoid all these problems. I've added a note in the README to warn users that they should not use cmd and PowerShell.

fbdtemme avatar Aug 26 '21 06:08 fbdtemme

image The issue occurs in Windows Terminal.

RibShark avatar Aug 26 '21 09:08 RibShark

Can you verify if this still happens with release v0.6.2 ?

fbdtemme avatar Sep 12 '21 09:09 fbdtemme

checked with v0.6.2, everything is fine with powershell, with cmd same problems. powershell: WindowsTerminal_rLLUOdfQxv cmd: WindowsTerminal_LaNUcQ3082

JiLleON avatar Dec 02 '21 06:12 JiLleON