openShell method
Opens a fresh interactive shell on nodeId sized cols×rows.
Implementation
Future<RemoteSession> openShell({
required String nodeId,
required int cols,
required int rows,
}) => _guard(
() => client.openSession(
nodeId: nodeId,
mode: SessionMode.shell,
pty: PtySpec(term: 'xterm-256color', cols: cols, rows: rows),
),
);