Can't type NUL character in Terminal using a Windows Alt-code #122436
Labels
*as-designed
Described behavior is as designed
terminal
General terminal issues that don't fall under another label
windows
VS Code on Windows issues
Milestone
Issue Type: Bug
I can type a NUL character in telnet from the Windows command console, but not from a vscode terminal window. I often use telnet to test simple TCP socket servers - in this case I'm trying to send a 0x00 byte to a server - a.k.a. in ASCII as NUL. vscode's terminal window disallows me sending the 0x00 byte. Works fine from a normal console window.
Steps to Reproduce:
In spirit, we're going to try to type a NUL character in a terminal using a windows Alt-Code. Check out How to use alt codes if you don't know how to type them. Basically press Alt, then the decimal digits of the byte to send on the numeric keypad then release Alt.
This character does not get typed.
I realize this is difficult to observe.
Here's the actual scenario in which I noticed this:
telnet
from the command line interface (may require adding telnet from control panel > turn windows features on or off > Telnet Client)Notice that the NUL is never emitted in the telnet data stream.
Again, this technique for typing a NUL into telnet works fine from a traditional Windows console, but not from a vscode terminal. It should be possible to type a NUL character using this technique in the vscode terminal.
VS Code version: Code 1.55.2 (3c4e3df, 2021-04-13T09:35:57.887Z)
OS version: Windows_NT x64 10.0.19042
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (22)
A/B Experiments
The text was updated successfully, but these errors were encountered: