diff --git a/src/platform/console/unix_console.cpp b/src/platform/console/unix_console.cpp index 41c9efd59b2..43e9ee43225 100644 --- a/src/platform/console/unix_console.cpp +++ b/src/platform/console/unix_console.cpp @@ -75,7 +75,6 @@ mp::UnixConsole::UnixConsole(ssh_channel channel, UnixTerminal* term) : term{ter term_type = (term_type == nullptr) ? "xterm" : term_type; update_local_pty_size(term->cout_fd()); - ssh_channel_request_pty_size(channel, term_type, local_pty_size.columns, local_pty_size.rows); // set stdin to Raw Mode after libssh inherits sane settings from stdin. diff --git a/src/sshfs_mount/sshfs_mount.h b/src/sshfs_mount/sshfs_mount.h index 3b037ed1749..aa4b0f2fc13 100644 --- a/src/sshfs_mount/sshfs_mount.h +++ b/src/sshfs_mount/sshfs_mount.h @@ -38,8 +38,7 @@ class SshfsMount void stop(); - [[nodiscard]] - bool alive() const; + [[nodiscard]] bool alive() const; private: std::atomic running;