Commit 53e1150f by Paul Warren

Support for unlimited number of lines of output in text mode - Roman Hoog Antink <rha@open.ch>

1 parent 3fae1acf
Pipeline #71 skipped in 0 seconds
Showing with 4 additions and 1 deletions
...@@ -6,6 +6,9 @@ Unattributed items are by Paul Warren and Chris Lightfoot. ...@@ -6,6 +6,9 @@ Unattributed items are by Paul Warren and Chris Lightfoot.
1.0 1.0
* Support for unlimited number of lines of output for text mode
Roman Hoog Antink <rha@open.ch>
* Fix handling of short packets * Fix handling of short packets
Frédéric Perrin <fperrin@brocade.com> Frédéric Perrin <fperrin@brocade.com>
......
...@@ -73,7 +73,7 @@ void tui_print() { ...@@ -73,7 +73,7 @@ void tui_print() {
printf("\n"); printf("\n");
/* Traverse the list of all connections */ /* Traverse the list of all connections */
while((nn = sorted_list_next_item(&screen_list, nn)) != NULL && l < options.num_lines) { while((nn = sorted_list_next_item(&screen_list, nn)) != NULL && (!options.num_lines || l < options.num_lines)) {
/* Increment the line counter */ /* Increment the line counter */
l++; l++;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!