Codebase list golang-github-vbauerster-mpb / 08bf159
StaticName Vladimir Bauer 8 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
5454 mpb.PrependDecorators(
5555 // StaticName decorator with minWidth and no width sync options
5656 // If you need to change name while rendering, use DynamicName
57 decor.Name(name, len(name), 0),
57 decor.StaticName(name, len(name), 0),
5858 // ETA decorator with minWidth and width sync options
5959 // DSyncSpace is shortcut for DwidthSync|DextraSpace
6060 decor.ETA(4, decor.DSyncSpace),
2626 mpb.PrependDecorators(
2727 // StaticName decorator with minWidth and no width sync options
2828 // If you need to change name while rendering, use DynamicName
29 decor.Name(name, len(name), 0),
29 decor.StaticName(name, len(name), 0),
3030 // ETA decorator with minWidth and width sync options
3131 // DSyncSpace is shortcut for DwidthSync|DextraSpace
3232 decor.ETA(4, decor.DSyncSpace),