You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Live Share] vscode.window.onDidWriteTerminalData: events are only raised for first terminal window on MacOS Big Sur #113641
Live Share's Shared Terminal is no longer working on MacOS Big Sur (using VS Code stable 1.52.1)
MicrosoftDocs/live-share#4035
The issue occurs when sharing an existing terminal window, one that the host creates by clicking on New Terminal (+) from the VS Code's Terminal pane.
I've debugged and can see onDidWriteTerminalData isn't raised when input is typed in the newly created terminal. It appears to only pick up the events in the first terminal. Every time a new host terminal is created Live Share listens for input from this terminal and forwards it to the guest:
vscode.window.onDidWriteTerminalData((e) => {
if (e.terminal === terminal) {
const s = e.data;
writeDataQueue = writeDataQueue.then(
async () => {
await socket.write(s);
});
}
},
null /* this */,
registrations);
Note: everything is working as expected on Windows so this appears to only be an issue on MacOS (Big Sur)
Activity
cbrunnkvist commentedon Feb 5, 2021
The previously broken feature started working for me again after updating VS Code to
Version: 1.53.0.jramsay commentedon Feb 5, 2021
I just tested as well and as Conny Brunnkvist (@cbrunnkvist) mentions (thanks!) it is working in 1.53.0 on MacOS Big Sur. Closing this issue
lostintangent commentedon Feb 5, 2021
Nice!!