chore: update repo links to ratatui instead of ratatui-org (#1458)

This commit is contained in:
Josh McKinney 2024-10-30 03:37:04 -07:00 committed by GitHub
parent 836634734f
commit 55fb2d2e56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -4,8 +4,8 @@
//! this is not meant to be prescriptive. See the [examples] folder for more complete examples. //! this is not meant to be prescriptive. See the [examples] folder for more complete examples.
//! In particular, the [hello-world] example is a good starting point. //! In particular, the [hello-world] example is a good starting point.
//! //!
//! [examples]: https://github.com/ratatui-org/ratatui/blob/main/examples //! [examples]: https://github.com/ratatui/ratatui/blob/main/examples
//! [hello-world]: https://github.com/ratatui-org/ratatui/blob/main/examples/hello_world.rs //! [hello-world]: https://github.com/ratatui/ratatui/blob/main/examples/hello_world.rs
//! //!
//! The latest version of this example is available in the [examples] folder in the repository. //! The latest version of this example is available in the [examples] folder in the repository.
//! //!

View file

@ -13,9 +13,9 @@
//! See the [examples readme] for more information on finding examples that match the version of the //! See the [examples readme] for more information on finding examples that match the version of the
//! library you are using. //! library you are using.
//! //!
//! [Ratatui]: https://github.com/ratatui-org/ratatui //! [Ratatui]: https://github.com/ratatui/ratatui
//! [examples]: https://github.com/ratatui-org/ratatui/blob/main/examples //! [examples]: https://github.com/ratatui/ratatui/blob/main/examples
//! [examples readme]: https://github.com/ratatui-org/ratatui/blob/main/examples/README.md //! [examples readme]: https://github.com/ratatui/ratatui/blob/main/examples/README.md
use std::time::{Duration, Instant}; use std::time::{Duration, Instant};
use color_eyre::Result; use color_eyre::Result;
@ -115,7 +115,7 @@ impl Widget for &mut App {
/// This was the way most widgets were implemented in Ratatui before `Widget` was implemented on /// This was the way most widgets were implemented in Ratatui before `Widget` was implemented on
/// references in [PR #903] (merged in Ratatui 0.26.0). /// references in [PR #903] (merged in Ratatui 0.26.0).
/// ///
/// [PR #903]: https://github.com/ratatui-org/ratatui/pull/903 /// [PR #903]: https://github.com/ratatui/ratatui/pull/903
struct Greeting { struct Greeting {
name: String, name: String,
} }
@ -247,7 +247,7 @@ impl Widget for &mut RightAlignedSquare {
/// Fill the area with the specified symbol and style. /// Fill the area with the specified symbol and style.
/// ///
/// This probably should be a method on the `Buffer` type, but it is defined here for simplicity. /// This probably should be a method on the `Buffer` type, but it is defined here for simplicity.
/// <https://github.com/ratatui-org/ratatui/issues/1146> /// <https://github.com/ratatui/ratatui/issues/1146>
fn fill<S: Into<Style>>(area: Rect, buf: &mut Buffer, symbol: &str, style: S) { fn fill<S: Into<Style>>(area: Rect, buf: &mut Buffer, symbol: &str, style: S) {
let style = style.into(); let style = style.into();
for y in area.top()..area.bottom() { for y in area.top()..area.bottom() {