contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.37k stars 102 forks source link

Bypass conpty when using ssh. #1319

Closed ferdinandyb closed 9 months ago

ferdinandyb commented 9 months ago

Abstract

conpty makes a lot of trouble on Windows. Just skip it entirely and connect to the remote machine directly. It would be even greater if somehow you could ssh into WSL and skip conpty there as well.

Motivation

We all know conpty is trouble and if you are only using the terminal to access linux, it really does not seem necessary to have it in the loop.

christianparpart commented 9 months ago

This would be a feature we could make available on all platforms, not just Windows. But Windows (due to its ConPTY limitations) would be most benefiting from it. I finally see a good reason why a terminal should provide support for directly connecting to an SSH server.