Skip to content

Commit

Permalink
[MikroTik] Corrected the terminal size definition
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ribot committed Jun 1, 2023
1 parent 427aa0b commit 67aee42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions netmiko/mikrotik/mikrotik_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ def _modify_connection_params(self) -> None:
c: disable console colors
e: enable dumb terminal mode
t: disable auto detect terminal capabilities
w511: set term width
h4098: set term height
511w: set term width
4098h: set term height
"""
self.username += "+ctw511h4098"
self.username += "+ct511w4098h"

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

0 comments on commit 67aee42

Please sign in to comment.