-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix alignment issue in mc ping. #4218
Conversation
It might be easier to do this alignment dynamically using lipgloss using JoinHorizontal |
@donatello JoinHorizontal didn't worked. The present approach will work for second and milliseconds. It pads white space . IMO this is a good approach . It solves the alignment problem. |
@donatello @kannappanr PTAL |
Alignment looks fine. Why is the port displayed here? |
Debug option is crashing the binary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix conflicts
The debug is crashing because the
This might be beacuse of time being set in |
@sinhaashish can you also add DNS output ? |
DNS output is present in json mode. Since the DNS output has the value only once and 0 all other time , It didn't made any sense to display it in normal mode. Moreover the present op was discussed with AB , and DNS was not a part of it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The mc ping out was mis-aligned .
In order to have a proper alignment , i ave fixed the size of each colums as below
the size of min , max , average is fixed of 8 length, while counter and error are of 3 lengths.
the o/p looks like
@harshavardhana @donatello : please suggest any better approach, if any