profile
viewpoint

Ask questionsLine wrap not working in Windows Terminal

Hi, it seems that line wrap is not working when using Windows Terminal (wt) instead of the default terminal emulator used by pwsh.exe/cmd.exe.

wt_radian_bug

I also did a quick check of running radian within wt inside WSL2-Ubuntu-bash instead of pwsh and suprisingly there it worked:

image

So my feeling is, that is has to do with some environment variables that need to be set or some special workarounds that radian does when running on windows, which aren't required for wt. (I tested all options that can be set through .radian_profile, e.g. radian.auto_width without success).

Used versions checks on windows:

  • Windows Terminal Preview Version: 1.9.1523.0
  • Radian: 0.5.11
  • Python: 3.8.8
  • R: 4.0.5

Used versions for check on WSL2:

  • Radian: 0.5.11
  • Python: 3.8.5
  • R: 3.6.3

Any advice on how to fix/debug this issue would be greatly appreciated.

randy3k/radian

Answer questions toscm

Ah, I did not notice that you were using you're own prompt-toolkit version. Thanks for the explanation. In this case I can see that updating prompt-toolkit has a good chance to solve the problem.

So from my side it would be ok to close the issue now, unless you want to leave it open for other Windows Terminal users who might run into the same problem?

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List