PtySupport

You must implement a function called redraw() and initialize the members in your constructor

mixin template PtySupport (
alias resizeHelper
) {
version(use_libssh2)
LIBSSH2_CHANNEL* sshChannel;
version(!use_libssh2 && Windows)
HANDLE stdin;
version(!use_libssh2 && Windows)
HANDLE stdout;
version(!use_libssh2 && !Windows && Posix)
int master;
version(!use_libssh2 && Posix)
int previousProcess;
version(!use_libssh2 && Posix)
int activeProcess;
version(!use_libssh2 && Posix)
int activeProcessWhenResized;
version(!use_libssh2 && Posix)
bool resizedRecently;
version(!use_libssh2 && !winpty && Windows)
OVERLAPPED* overlapped;
version(!use_libssh2 && !winpty && Windows)
bool overlappedBufferLocked;
version(!use_libssh2 && !winpty && Windows)
ubyte[4096] overlappedBuffer;
}

Meta