Open madhurjain2095 opened 4 years ago
Inspired from powerline-gitstatus and powerline-docker (both of which I use)
Hi, thanks for this - looks good to me. However, I'm wondering what the advantage of this approach is (besides the code maybe being a bit cleaner). Since this is a breaking change, I'm not going to merge it before I'm sure it's actually worth a breaking change :)
Hey, apologies for the delay in response (was busy with my courses)
Yeah, IMO I think it's better to move forward with the new design as per Powerline documents, and as such, reduce the technical debt that occurs with staying with the old version.
Other than that, I don't think there's any other clear advantage with this pull request.
mem_usage
andmem_usage_percent
into a single classMemUsageSegment
and exposed a single object of that class.