linewrap then backspace produces unexpected visuals, missing characters #1657

Open
opened 2026-01-30 22:33:07 +00:00 by claunia · 0 comments
Owner

Originally created by @fredless on GitHub (Jun 13, 2019).

Originally assigned to: @zadjii-msft on GitHub.

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable): built using d82eab44d0

Steps to reproduce

  • open terminal with following profile:
{
    "globals" : 
    {
        "alwaysShowTabs" : false,
        "defaultProfile" : "{9d2406b9-7e40-4e2b-a20d-82dc61c4cc24}",
        "initialCols" : 80,
        "initialRows" : 60,
        "requestedTheme" : "dark",
        "showTabsInTitlebar" : true,
        "showTerminalTitleInTitlebar" : false
    },
    "profiles" : 
    [
        {
            "acrylicOpacity" : 0.80000001192092896,
            "closeOnExit" : true,
            "colorScheme" : "Solarized Dark",
            "commandline" : "cmd.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{9d2406b9-7e40-4e2b-a20d-82dc61c4cc24}",
            "historySize" : 9001,
            "name" : "cmd",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : true
        }
    ]
}
  • input characters until the line wraps, backspace once, and enter an additional character

Expected behavior

  • Cursor should return to the previous position following the last character on the previous line after hitting backspace.
  • Additional input character (sent after backspace) should show up after the last character on the previous line.

Actual behavior

  • Cursor returns to previous line, but with a whitespace between the last character input and the cursor position
  • Additional input character does not show up in terminal, although it is recognized

'..789ab' is received as input in the example below, even though it is not shown:
GIF of issue

Originally created by @fredless on GitHub (Jun 13, 2019). Originally assigned to: @zadjii-msft on GitHub. # Environment Windows build number: Microsoft Windows [Version 10.0.18362.175] Windows Terminal version (if applicable): built using d82eab44d076e441f0b630d9b53a19dfa884c3ab # Steps to reproduce * open terminal with following profile: ```json { "globals" : { "alwaysShowTabs" : false, "defaultProfile" : "{9d2406b9-7e40-4e2b-a20d-82dc61c4cc24}", "initialCols" : 80, "initialRows" : 60, "requestedTheme" : "dark", "showTabsInTitlebar" : true, "showTerminalTitleInTitlebar" : false }, "profiles" : [ { "acrylicOpacity" : 0.80000001192092896, "closeOnExit" : true, "colorScheme" : "Solarized Dark", "commandline" : "cmd.exe", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 10, "guid" : "{9d2406b9-7e40-4e2b-a20d-82dc61c4cc24}", "historySize" : 9001, "name" : "cmd", "padding" : "0, 0, 0, 0", "snapOnInput" : true, "startingDirectory" : "%USERPROFILE%", "useAcrylic" : true } ] } ``` * input characters until the line wraps, backspace once, and enter an additional character # Expected behavior * Cursor should return to the previous position following the last character on the previous line after hitting backspace. * Additional input character (sent after backspace) should show up after the last character on the previous line. # Actual behavior * Cursor returns to previous line, but with a whitespace between the last character input and the cursor position * Additional input character does not show up in terminal, although it is recognized '..789ab' is received as input in the example below, even though it is not shown: ![GIF of issue](http://www.feasible.net/images/linewrapissue.gif)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1657