Strange behavior of terminal accessibility buffer when running postgresql client #174170
Labels
bug
Issue identified by VS Code Team member as probable bug
*duplicate
Issue identified as a duplicate of another issue(s)
terminal-accessibility
Issues related to the terminal help widget, accessibility buffer, or navigation mode
Milestone
Type: Bug
CC @meganrogge @isidorn
I tried to run the postgresql client in a vscode terminal but strangely the result of the commands executed by the client was not presented in the accessibility buffer.
The curious thing is that after I finished executing the client, the results of the commands were displayed in the terminal's accessibility buffer.
Reproducing the steps described here requires that docker be installed but I believe it is also possible to reproduce if postgresql is installed locally without using docker.
Steps to reproduce:
Create a postgres instance using docker. To do so, use the following command:
docker run --name test --rm -e POSTGRES_PASSWORD=195 -d postgres:15-alpine
After creating the postgres instance, create a terminal in VSCode and run the following command:
docker exec -it test psql -Upostgres
Assuming the connection was successfully established, we can run some commands in postgres.
select 11*11;
select 100+200;
Note that although the output of commands is displayed in the terminal, they do not appear in the accessibility buffer.
Type
\q
to close the postgres connection and notice that the output of previously executed commands now appears in the accessibility buffer.I believe that if this behavior is correct, it will be difficult to follow the execution of commands that have a long duration.
VS Code version: Code - Insiders 1.76.0-insider (c7930ca, 2023-02-10T16:16:54.590Z)
OS version: Linux x64 6.1.10-200.fc37.x86_64
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (38)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: