How to customize the information displayed in the Rhino window with PY

How do I use py script in rhinoscript to implement custom display modes such as showing the length on the curve or showing the sequential number of control points when moving the curve or adjusting the control points on the curve.Just like the CurveArrows in rhinoscriptsyntax add arrows to adjust curves to follow