Some switch models wrap the output when it exceeds the width of the terminal. As it may not be required to fully simulate this feature, systems developed to interact with those routers must expect to read the output on multiple lines.
To do so, fake-switches should support this feature by simulating line wrap at a fixed terminal width determined some how (configuration) or dynamically defined by the terminal width the same way the real switch would do.
Some switch models wrap the output when it exceeds the width of the terminal. As it may not be required to fully simulate this feature, systems developed to interact with those routers must expect to read the output on multiple lines.
To do so, fake-switches should support this feature by simulating line wrap at a fixed terminal width determined some how (configuration) or dynamically defined by the terminal width the same way the real switch would do.