skip to Main Content

If I print in the DEBUG CONSOLE it’s fine, every where else VS code display Hebrew just fine, just when the script print to the TERMINAL the Hebrew is upside down, why?
enter image description here

Update: it works fine when debugging on external terminal

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    Solution (or a work around) I found:

    In .vscode/launch.json:

    "console": "internalConsole" save and reload the VScode window, and start debugging again.

    Source: VS Code starts debugging in integrated terminal instead of debug console

    This redirects the output to DEBUG CONSOLE instead of TERMINAL. DEBUG CONSOLE doesn't seem to have this problem.

    Screenshot 2023-04-12 at 1 33 09



    Another option I haven't tried. It might be good if you don't have the Python VScode plugin: https://github.com/microsoft/vscode-cpptools/issues/9696


  2. This is a known issue with the VS Code integrated terminal since at least VS Code 1.13.0. See Terminal doesn’t support RTL languages #28571. The regression in that version had to do with new optimizations and features that assume everything is on a grid that only contains half or full-width characters (source). That issue ticket is closed to be tracked upstream in the xtermjs repo: Support RTL languages #701. You can show your support for the issue ticket by giving a thumbs up reaction to the issue. But please don’t make a "me too" comment. "me too" comments generally come off as annoying to repo maintainers because they clutter up discussion and don’t contribute anything of significant value.

    For your reference / learning purposes, I found those issue tickets by googling "github vscode issues intgrated terminal right to left text".

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search