Skip to content

[Windows] Terminal view content isn't correctly placed #25126

Closed

Description

@loganmzz
  • VSCode Version: Code - Insiders 1.12.0-insider (6c59263, 2017-04-21T06:12:00.370Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
gitignore codezombiech 0.5.0
githistory donjayamanne 0.2.0
tslint eg2 0.12.0
vscode-csscomb mrmlnc 4.0.1
vscode-icons robertohuertasm 7.5.1

Steps to Reproduce:

  1. Open any terminal (Command Prompt, PowerShell, WSL Bash)

    Lines don't start in first column but cursor seems correctly located according to a "normal" display

  2. Enters git command

    Next prompt display is ok

  3. Enters another command (for example : dir or ls)

    Display is broken again

Notes: Tested on Code 1.7.1 (02611b4, 2016-11-03T13:53:14.822Z) and it works like a charm.

Examples ($ => cursor location):

Command Prompt

Microsoft Windows [version 10.0.15063]
(c) 2017 Microsoft Corporation. Tous droits réservés.
                                                                                                                                                                                         D:
\dev>  $

PowerShell

Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. Tous droits réservés.
                                                                                                                                                                                         PS
 D:\dev>yarn                                                                                                                                        ya
rn : Le terme «yarn» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès  existe,
 vérifiez que le chemin d'accès est correct et réessayez.                                                                                                                        Au caractè
re Ligne:1 : 1                                                                                                                                                                  + yarn
                                                                                                                                                                                + ~~~~
                                                                                                                                                                                    + Categ
oryInfo          : ObjectNotFound: (yarn:String) [], CommandNotFoundException                                                                                                       + Fully
QualifiedErrorId : CommandNotFoundException
                                                                                                                                                                                PS D:\dev>             $

Activity

  1. changed the title [-]Terminal view content isn't correctly placed[/-] [+][Windows] Terminal view content isn't correctly placed[/+] on Apr 21, 2017
  2. CherryDT commented on Apr 21, 2017

    @CherryDT

    This happens for me too, started with a recent update, but I use bash, and not exactly sure yet what triggers it. It happens much more likely after running tests with ava --watch. Once it gets into this state, clear will always temporarily fix it, but git log will then immediately trigger it again. Only closing the terminal completely will fix it.

    Version 1.12.0-insider
    Commit 7efc373
    Date 2017-04-18T06:12:01.182Z
    Shell 1.6.6
    Renderer 56.0.2924.87
    Node 7.4.0

  3. warpdesign commented on Apr 21, 2017

    @warpdesign
    Contributor

    Looks like the same old problem: there was a patch for that (caping the cols) but it has been removed

  4. CherryDT commented on Apr 21, 2017

    @CherryDT

    Why was the patch removed?

  5. added
    terminal
    on Apr 21, 2017
  6. Tyriar commented on Apr 24, 2017

    @Tyriar
    Contributor

    Duplicate #19665

    David Trapp (@CherryDT) the patchj was removed because it didn't fix the problem for everyone and it causes issues for tmux users.

  7. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

terminal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions