Terminal.connectEof

Connect to Eof signal.

Emitted when the terminal receives an end-of-file from a child which is running in the terminal. This signal is frequently (but not always) emitted with a #VteTerminal::child-exited signal.

class Terminal
ulong
connectEof
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] : vte.terminal.Terminal)
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

void callback(vte.terminal.Terminal terminal)

terminal the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID