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(Windows)
HANDLE stdin;
version(Windows)
HANDLE stdout;
version(Posix)
int master;
version(Posix)
int previousProcess;
version(Posix)
int activeProcess;
version(Posix)
int activeProcessWhenResized;
version(Posix)
bool resizedRecently;
version(Windows)
OVERLAPPED* overlapped;
version(Windows)
bool overlappedBufferLocked;
version(Windows)
ubyte[4096] overlappedBuffer;
}

Meta