vscode icon indicating copy to clipboard operation
vscode copied to clipboard

The current line disappears in terminal with `Ctrl+r` and `Space` when `"terminal.integrated.gpuAcceleration": "off"`

Open tamuratak opened this issue 3 years ago • 5 comments

Does this issue occur when all extensions are disabled?: Yes

Version: 1.72.0-insider (Universal) Commit: c4722f1bb292284e0437eb7547808a5788fe6430 Date: 2022-09-02T05:20:22.688Z Electron: 19.0.12 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin arm64 20.6.0 Sandboxed: Yes

The shell is zsh. The settings.json is as follows:

{
    "terminal.integrated.gpuAcceleration": "off",
    "workbench.colorTheme": "Default Light+",
    "window.zoomLevel": 1
}

Steps to Reproduce:

  1. Set "terminal.integrated.gpuAcceleration": "off"
  2. Open Terminal
  3. Type Ctrl+r and Space
  4. The current line disappears.

When "terminal.integrated.gpuAcceleration": "auto", this issue doesn't occur.

https://user-images.githubusercontent.com/10665499/188245201-6a1fc52c-d6dd-4276-82c4-c12d201716b0.mov

tamuratak avatar Sep 02 '22 23:09 tamuratak

Same here but on linux and using ZSH for integrated terminal with gpuAcceleration off. Works once gpuAcceleration is changed to on.

Ctrl+r somehow breaks as soon as I type a space.

Version: 1.71.0 Commit: 784b0177c56c607789f9638da7b6bf3230d47a8c Date: 2022-09-01T07:25:10.472Z Electron: 19.0.12 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 5.15.0-47-generic Sandboxed: No

kahennig avatar Sep 06 '22 14:09 kahennig

I can't reproduce with either of those scenarios. If you resize the terminal after ctrl+r, does the line reappear?

meganrogge avatar Sep 07 '22 22:09 meganrogge

No. It keeps hidden.

tamuratak avatar Sep 07 '22 23:09 tamuratak

same here.

Just tested one more thing. When setting gpuAcceleration to "canvas" it works just fine like when set to "on". Only "off" seems to trigger the problem.

kahennig avatar Sep 08 '22 13:09 kahennig

@kahennig @tamuratak do you use a library for the prompt? Otherwise, what's your $PS1 set as?

Tyriar avatar Dec 08 '22 15:12 Tyriar

I cannot reproduce the issue. Might be fixed.

Version: 1.75.0-insider (Universal) Commit: b92894493e6f971a3c71912d823e699d3a05d643 Date: 2022-12-08T05:21:16.099Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin arm64 20.6.0 Sandboxed: Yes

tamuratak avatar Dec 08 '22 22:12 tamuratak

Hey @Tyriar, this issue might need further attention.

@tamuratak, you can help us out by closing this issue if the problem no longer exists, or adding more information.

vscodenpa avatar Feb 27 '23 11:02 vscodenpa