Skip to content

Commit 79b37bc

Browse files
authored
[MikroTik] Corrected the terminal size definition (ktbyers#3228)
1 parent 47820f7 commit 79b37bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

netmiko/mikrotik/mikrotik_ssh.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ def _modify_connection_params(self) -> None:
3939
c: disable console colors
4040
e: enable dumb terminal mode
4141
t: disable auto detect terminal capabilities
42-
w511: set term width
43-
h4098: set term height
42+
511w: set term width
43+
4098h: set term height
4444
"""
45-
self.username += "+ctw511h4098"
45+
self.username += "+ct511w4098h"
4646

4747
def disable_paging(self, *args: Any, **kwargs: Any) -> str:
4848
"""Mikrotik does not have paging by default."""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy