You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON Tutorial missing the centered_rect function definition, which is important for you to progress further through the tutorial.
Screenshots
Additional context
Although not crucial, some sections earlier on in the tutorial do lack some information which would be nice to have, like lacking some use declarations, whilst the code examples expect you to have.
One example is when you create a new terminal variable in Main.rs section let mut terminal = Terminal::new(backend)?;. However the page never imports ratatui::terminal::Terminal into scope. (Its inside ratatui::prelude, so I assume that was accidentally removed at some point)
The text was updated successfully, but these errors were encountered:
Although not crucial, some sections earlier on in the tutorial do lack some information which would be nice to have, like lacking some use declarations, whilst the code examples expect you to have.
One example is when you create a new terminal variable in Main.rs section let mut terminal = Terminal::new(backend)?;. However the page never imports ratatui::terminal::Terminal into scope. (Its inside ratatui::prelude, so I assume that was accidentally removed at some point)
I'm hoping to work through all the tutorials with a completely fresh state and ensure no information is missing. But that'll probably happen after the crates-tui tutorial is merged (#440).
Description
JSON Tutorial missing the
centered_rect
function definition, which is important for you to progress further through the tutorial.Screenshots
Additional context
Although not crucial, some sections earlier on in the tutorial do lack some information which would be nice to have, like lacking some use declarations, whilst the code examples expect you to have.
One example is when you create a new terminal variable in Main.rs section
let mut terminal = Terminal::new(backend)?;
. However the page never importsratatui::terminal::Terminal
into scope. (Its inside ratatui::prelude, so I assume that was accidentally removed at some point)The text was updated successfully, but these errors were encountered: