fdehau / tui-rs

Build terminal user interfaces and dashboards using Rust
MIT License
10.83k stars 483 forks source link

Add documentation for x_bounds, y_bounds #666

Closed girvel closed 1 year ago

girvel commented 2 years ago

Description

There is no description in docs for Canvas::x_bounds and Canvas::y_bounds, but there is a question about that with response of the author. So this PR puts this response as documentation for the methods with some small corrections and formatting.

Testing guidelines

This PR does not add any code, but all code fragments in documentation are valid & buildable.

Checklist