[BUG] Unable to scroll upwards #22200

Closed
opened 2026-01-31 08:06:16 +00:00 by claunia · 7 comments
Owner

Originally created by @b1xcy on GitHub (Sep 2, 2024).

Windows Terminal version

1.21.2361.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

After entering ipconfig in the terminal (more than this command can cause bugs), it is not possible to scroll up.

After reinstalling, it is possible to scroll in PowerShell, but cmd still cannot scroll

gif

Expected Behavior

No response

Actual Behavior

Unable to scroll upwards, the side scrollbar also fails

Originally created by @b1xcy on GitHub (Sep 2, 2024). ### Windows Terminal version 1.21.2361.0 ### Windows build number 10.0.22631.0 ### Other Software _No response_ ### Steps to reproduce After entering `ipconfig` in the terminal (more than this command can cause bugs), it is not possible to scroll up. After reinstalling, it is possible to scroll in PowerShell, but cmd still cannot scroll ![gif](https://github.com/user-attachments/assets/4ccaa3c3-6b0c-477e-b8c1-ae2ab362ac35) ### Expected Behavior _No response_ ### Actual Behavior Unable to scroll upwards, the side scrollbar also fails
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:06:17 +00:00
Author
Owner

@b1xcy commented on GitHub (Sep 3, 2024):

here is my settings.json

{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "actions": 
    [
        {
            "command": 
            {
                "action": "copy",
                "singleLine": false
            },
            "id": "User.copy.644BA8F2",
            "keys": "ctrl+c"
        },
        {
            "command": "paste",
            "id": "User.paste",
            "keys": "ctrl+v"
        },
        {
            "command": "find",
            "id": "User.find",
            "keys": "ctrl+shift+f"
        },
        {
            "command": 
            {
                "action": "splitPane",
                "split": "auto",
                "splitMode": "duplicate"
            },
            "id": "User.splitPane.A6751878",
            "keys": "alt+shift+d"
        }
    ],
    "copyFormatting": "none",
    "copyOnSelect": false,
    "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
    "language": "zh-Hans",
    "newTabMenu": 
    [
        {
            "type": "remainingProfiles"
        }
    ],
    "profiles": 
    {
        "defaults": 
        {
            "backgroundImage": null,
            "backgroundImageOpacity": 0.5,
            "elevate": false,
            "font": 
            {
                "face": "JetBrainsMono Nerd Font Mono"
            },
            "intenseTextStyle": "all"
        },
        "list": 
        [
            {
                "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
                "hidden": false,
                "name": "PowerShell",
                "source": "Windows.Terminal.PowershellCore"
            },
            {
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "\u547d\u4ee4\u63d0\u793a\u7b26"
            },
            {
                "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "name": "Windows PowerShell"
            }
        ]
    },
    "schemes": [],
    "themes": []
}
@b1xcy commented on GitHub (Sep 3, 2024): here is my settings.json ```json { "$help": "https://aka.ms/terminal-documentation", "$schema": "https://aka.ms/terminal-profiles-schema", "actions": [ { "command": { "action": "copy", "singleLine": false }, "id": "User.copy.644BA8F2", "keys": "ctrl+c" }, { "command": "paste", "id": "User.paste", "keys": "ctrl+v" }, { "command": "find", "id": "User.find", "keys": "ctrl+shift+f" }, { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "id": "User.splitPane.A6751878", "keys": "alt+shift+d" } ], "copyFormatting": "none", "copyOnSelect": false, "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "language": "zh-Hans", "newTabMenu": [ { "type": "remainingProfiles" } ], "profiles": { "defaults": { "backgroundImage": null, "backgroundImageOpacity": 0.5, "elevate": false, "font": { "face": "JetBrainsMono Nerd Font Mono" }, "intenseTextStyle": "all" }, "list": [ { "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "hidden": false, "name": "PowerShell", "source": "Windows.Terminal.PowershellCore" }, { "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "name": "\u547d\u4ee4\u63d0\u793a\u7b26" }, { "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "name": "Windows PowerShell" } ] }, "schemes": [], "themes": [] } ```
Author
Owner

@zadjii-msft commented on GitHub (Sep 3, 2024):

Well that sure is weird, and something I can't repro locally.

  • Did this happen on 1.20/?
  • Do other commands that might cause scrolling (something like a dir c:\windows\system32) work as expected?
  • What is the output of chcp on your machine?
@zadjii-msft commented on GitHub (Sep 3, 2024): Well that sure is weird, and something I can't repro locally. * Did this happen on 1.20/? * Do other commands that might cause scrolling (something like a `dir c:\windows\system32`) work as expected? * What is the output of `chcp` on your machine?
Author
Owner

@b1xcy commented on GitHub (Sep 3, 2024):

  • it happen on 1.20
  • almost all commands cause inability to scroll
  • the output of chcp is Active code page: 65001(I have tried switching to 936 or 437, but neither has worked)
    It's interesting that after I enter chcp, I can scroll a little distance
    But this can lead to some display issues

gif

@b1xcy commented on GitHub (Sep 3, 2024): - it happen on 1.20 - almost all commands cause inability to scroll - the output of `chcp` is `Active code page: 65001`(I have tried switching to 936 or 437, but neither has worked) It's interesting that after I enter `chcp`, I can scroll a little distance But this can lead to some display issues ![gif](https://github.com/user-attachments/assets/46e864ef-45b1-4330-89e2-dc483b2724b7)
Author
Owner

@lhecker commented on GitHub (Sep 3, 2024):

The fact that chcp behaves differently makes me believe that this must be a VtEngine bug, but after going through the conhost settings I could not find anything that may cause this.

Just to be sure, @b1xcy can you try to install the canary version from here? https://aka.ms/terminal-canary-installer
It should pick up your Windows Terminal settings automatically. Please let us know if the issue still happens then! (If it does, please feel free to uninstall it again.)

@lhecker commented on GitHub (Sep 3, 2024): The fact that chcp behaves differently makes me believe that this must be a VtEngine bug, but after going through the conhost settings I could not find anything that may cause this. Just to be sure, @b1xcy can you try to install the canary version from here? https://aka.ms/terminal-canary-installer It should pick up your Windows Terminal settings automatically. Please let us know if the issue still happens then! (If it does, please feel free to uninstall it again.)
Author
Owner

@b1xcy commented on GitHub (Sep 3, 2024):

The Canary version still has this error(I hope my Chinese interface won't cause any inconvenience to you)
Only command prompt can generate such an error, neither PowerShell nor Windows PowerShell
Here is the Canary version settings.json

{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://raw.githubusercontent.com/microsoft/terminal/main/doc/cascadia/profiles.schema.json",
    "actions": 
    [
        {
            "command": 
            {
                "action": "copy",
                "singleLine": false
            },
            "id": "User.copy.644BA8F2"
        },
        {
            "command": "paste",
            "id": "User.paste"
        },
        {
            "command": 
            {
                "action": "splitPane",
                "split": "auto",
                "splitMode": "duplicate"
            },
            "id": "User.splitPane.A6751878"
        },
        {
            "command": "find",
            "id": "User.find"
        }
    ],
    "copyFormatting": "none",
    "copyOnSelect": false,
    "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
    "keybindings": 
    [
        {
            "id": "User.copy.644BA8F2",
            "keys": "ctrl+c"
        },
        {
            "id": "User.find",
            "keys": "ctrl+shift+f"
        },
        {
            "id": "User.paste",
            "keys": "ctrl+v"
        },
        {
            "id": "User.splitPane.A6751878",
            "keys": "alt+shift+d"
        }
    ],
    "language": "zh-Hans",
    "newTabMenu": 
    [
        {
            "type": "remainingProfiles"
        }
    ],
    "profiles": 
    {
        "defaults": 
        {
            "backgroundImage": null,
            "backgroundImageOpacity": 0.5,
            "font": 
            {
                "face": "JetBrainsMono Nerd Font Mono"
            },
            "intenseTextStyle": "all"
        },
        "list": 
        [
            {
                "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
                "hidden": false,
                "name": "PowerShell",
                "source": "Windows.Terminal.PowershellCore"
            },
            {
                "commandline": "%SystemRoot%\\System32\\cmd.exe",
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "\u547d\u4ee4\u63d0\u793a\u7b26"
            },
            {
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "name": "Windows PowerShell"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            },
            {
                "guid": "{41edcfdd-5cf5-5c30-a70b-805f416f460d}",
                "hidden": false,
                "name": "Developer Command Prompt for VS 2019",
                "source": "Windows.Terminal.VisualStudio"
            },
            {
                "guid": "{f4ab5be0-545e-5b48-af79-d5a9f4fe008f}",
                "hidden": false,
                "name": "Developer PowerShell for VS 2019",
                "source": "Windows.Terminal.VisualStudio"
            }
        ]
    },
    "schemes": [],
    "themes": []
}

gif

@b1xcy commented on GitHub (Sep 3, 2024): The Canary version still has this error(I hope my Chinese interface won't cause any inconvenience to you) Only `command prompt` can generate such an error, neither `PowerShell` nor `Windows PowerShell` Here is the Canary version settings.json ```json { "$help": "https://aka.ms/terminal-documentation", "$schema": "https://raw.githubusercontent.com/microsoft/terminal/main/doc/cascadia/profiles.schema.json", "actions": [ { "command": { "action": "copy", "singleLine": false }, "id": "User.copy.644BA8F2" }, { "command": "paste", "id": "User.paste" }, { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "id": "User.splitPane.A6751878" }, { "command": "find", "id": "User.find" } ], "copyFormatting": "none", "copyOnSelect": false, "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "keybindings": [ { "id": "User.copy.644BA8F2", "keys": "ctrl+c" }, { "id": "User.find", "keys": "ctrl+shift+f" }, { "id": "User.paste", "keys": "ctrl+v" }, { "id": "User.splitPane.A6751878", "keys": "alt+shift+d" } ], "language": "zh-Hans", "newTabMenu": [ { "type": "remainingProfiles" } ], "profiles": { "defaults": { "backgroundImage": null, "backgroundImageOpacity": 0.5, "font": { "face": "JetBrainsMono Nerd Font Mono" }, "intenseTextStyle": "all" }, "list": [ { "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "hidden": false, "name": "PowerShell", "source": "Windows.Terminal.PowershellCore" }, { "commandline": "%SystemRoot%\\System32\\cmd.exe", "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "name": "\u547d\u4ee4\u63d0\u793a\u7b26" }, { "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "name": "Windows PowerShell" }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" }, { "guid": "{41edcfdd-5cf5-5c30-a70b-805f416f460d}", "hidden": false, "name": "Developer Command Prompt for VS 2019", "source": "Windows.Terminal.VisualStudio" }, { "guid": "{f4ab5be0-545e-5b48-af79-d5a9f4fe008f}", "hidden": false, "name": "Developer PowerShell for VS 2019", "source": "Windows.Terminal.VisualStudio" } ] }, "schemes": [], "themes": [] } ``` ![gif](https://github.com/user-attachments/assets/b3d62c2e-98c8-4d7c-8c80-6814592d70fe)
Author
Owner

@zadjii-msft commented on GitHub (Sep 3, 2024):

Is there anything in

  • HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
  • HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

?


previously:

@zadjii-msft commented on GitHub (Sep 3, 2024): Is there anything in * `HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun` * `HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun` ? ---- _previously:_ * #15669 * #15036
Author
Owner

@b1xcy commented on GitHub (Sep 3, 2024):

Is there anything in

  • HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
  • HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

?

previously:

Thank you for your answer. I found that ansicon was running extra in HKEYTERENTVNet\Software\Microsoft\Command Processor\AutoRun.
This program caused scrolling failure.

@b1xcy commented on GitHub (Sep 3, 2024): > Is there anything in > > * `HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun` > * `HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun` > > ? > > _previously:_ > > * [Show only one page #15669](https://github.com/microsoft/terminal/issues/15669) > * [Terminal's scroll bar disappeared #15036](https://github.com/microsoft/terminal/issues/15036) Thank you for your answer. I found that `ansicon` was running extra in `HKEYTERENTVNet\Software\Microsoft\Command Processor\AutoRun`. This program caused scrolling failure.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22200