mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 09:39:03 -04:00
Add ncplane_bound(3). This allows a new plane N to be created in the *bound* state relative to another ncplane B. If B moves, N moves the same amount. If N is moved, the coordinates are taken relative to B as opposed to the standard plane. If B is destroyed, N is destroyed. Each plane can have many planes bound to it, but can only be bound to a single plane. Add ncplane_reparent(3). This allows a plane to be detached from any plane to which it is bound, and optionally rebound to a new plane. The standard plane cannot be reparented. Documentation and unit tests have been added for both.