{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":739532911,"defaultBranch":"main","name":"ratatui-macros","ownerLogin":"ratatui","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-01-05T19:51:14.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/125200832?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1724730858.0","currentOid":""},"activityList":{"items":[{"before":"c45a4de47c601554f6b981d211181468b4798e41","after":"37447a7ee48b7ff801558c6a56a6d8413cf1cce4","ref":"refs/heads/release-plz-2024-08-27T03-54-18Z","pushedAt":"2024-08-27T03:54:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"chore: release","shortMessageHtmlLink":"chore: release"}},{"before":null,"after":"c45a4de47c601554f6b981d211181468b4798e41","ref":"refs/heads/release-plz-2024-08-27T03-54-18Z","pushedAt":"2024-08-27T03:54:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"build(deps): bump ratatui from 0.28.0 to 0.28.1 in the cargo-dependencies group (#70)\n\nBumps the cargo-dependencies group with 1 update:\r\n[ratatui](https://github.com/ratatui/ratatui).\r\n\r\nUpdates `ratatui` from 0.28.0 to 0.28.1\r\n Sourced from ratatui's\r\nreleases. ed51c4b\r\n(terminal) Add ratatui::init() and restore() methods by These are simple opinionated methods for creating a terminal that is\r\nuseful to use in most apps. The new init method creates a crossterm\r\nbackend writing to stdout, enables raw mode, enters the alternate\r\nscreen, and sets a panic handler that restores the terminal on\r\npanic. A minimal hello world now looks a bit like: fn main() {Release notes
\r\n\r\n
v0.28.1
\r\nv0.28.1\r\n- 2024-08-25
\r\nFeatures
\r\n\r\n
@joshka
in #1289\r\n
use ratatui::{\r\n crossterm::event::{self, Event},\r\n text::Text,\r\n Frame,\r\n};\r\n
\r\nlet mut terminal = ratatui::init();
\r\nloop {
\r\nterminal
\r\n.draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello\r\nWorld!"), frame.area()))
\r\n.expect("Failed to draw");
\r\nif matches!(event::read().expect("failed to read event"),\r\nEvent::Key(_)) {
\r\nbreak;
\r\n}
\r\n}
\r\nratatui::restore();
\r\n}
\r\n
A type alias DefaultTerminal
is added to represent this\r\nterminal\r\ntype and to simplify any cases where applications need to pass this\r\nterminal around. It is equivalent to:\r\nTerminal<CrosstermBackend<Stdout>>
We also added ratatui::try_init()
and\r\ntry_restore()
, for situations\r\nwhere you might want to handle initialization errors yourself instead\r\nof letting the panic handler fire and cleanup. Simple Apps should\r\nprefer the init
and restore
functions over\r\nthese functions.
Corresponding functions to allow passing a\r\nTerminalOptions
with\r\na Viewport
(e.g. inline, fixed) are also available\r\n(init_with_options
,\r\nand try_init_with_options
).
... (truncated)
\r\n\r\nSourced from ratatui's\r\nchangelog.
\r\n\r\n\r\nv0.28.1\r\n- 2024-08-25
\r\nFeatures
\r\n\r\n
\r\n\r\n- \r\n
\r\ned51c4b\r\n(terminal) Add ratatui::init() and restore() methods by
\r\n@joshka
in #1289\r\n\r\nThese are simple opinionated methods for creating a terminal that is\r\nuseful to use in most apps. The new init method creates a crossterm\r\nbackend writing to stdout, enables raw mode, enters the alternate\r\nscreen, and sets a panic handler that restores the terminal on\r\npanic.
\r\nA minimal hello world now looks a bit like:
\r\n\r\nuse ratatui::{\r\n crossterm::event::{self, Event},\r\n text::Text,\r\n Frame,\r\n};\r\n
fn main() {
\r\nlet mut terminal = ratatui::init();
\r\nloop {
\r\nterminal
\r\n.draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello\r\nWorld!"), frame.area()))
\r\n.expect("Failed to draw");
\r\nif matches!(event::read().expect("failed to read event"),\r\nEvent::Key(_)) {
\r\nbreak;
\r\n}
\r\n}
\r\nratatui::restore();
\r\n}
\r\nA type alias
\r\nDefaultTerminal
is added to represent this\r\nterminal\r\ntype and to simplify any cases where applications need to pass this\r\nterminal around. It is equivalent to:\r\nTerminal<CrosstermBackend<Stdout>>
We also added
\r\nratatui::try_init()
and\r\ntry_restore()
, for situations\r\nwhere you might want to handle initialization errors yourself instead\r\nof letting the panic handler fire and cleanup. Simple Apps should\r\nprefer theinit
andrestore
functions over\r\nthese functions.Corresponding functions to allow passing a\r\n
\r\nTerminalOptions
with\r\naViewport
(e.g. inline, fixed) are also available\r\n(init_with_options
,\r\nandtry_init_with_options
).The existing code to create a backend and terminal will remain\r\nand
\r\n
... (truncated)
\r\n3a90e2a
\r\nchore(release): prepare for 0.28.1 (#1343)65da535
\r\nchore(ci): update release strategy (#1337)9ed85fd
\r\ndocs(table): fix incorrect backticks in TableState
docs (#1342)aed60b9
\r\nfix(terminal): Terminal::insert_before would crash when called while the\r\nview...3631b34
\r\ndocs(examples): add widget implementation example (#1147)0d5f3c0
\r\ntest: Avoid unneeded allocations in assertions (#1335)ed51c4b
\r\nfeat(terminal): Add ratatui::init() and restore() methods (#1289)23516bc
\r\nchore: rename ratatui-org to ratatui (#1334)6d1bd99
\r\ndocs: minor grammar fixes (#1330)2fb0b8a
\r\nfix: fix u16 overflow in Terminal::insert_before. (#1323)Sourced from ratatui's\r\nreleases.
\r\n\r\n\r\nv0.28.1
\r\nv0.28.1\r\n- 2024-08-25
\r\nFeatures
\r\n\r\n
\r\n\r\n- \r\n
\r\ned51c4b\r\n(terminal) Add ratatui::init() and restore() methods by
\r\n@joshka
in #1289\r\n\r\nThese are simple opinionated methods for creating a terminal that is\r\nuseful to use in most apps. The new init method creates a crossterm\r\nbackend writing to stdout, enables raw mode, enters the alternate\r\nscreen, and sets a panic handler that restores the terminal on\r\npanic.
\r\nA minimal hello world now looks a bit like:
\r\n\r\nuse ratatui::{\r\n crossterm::event::{self, Event},\r\n text::Text,\r\n Frame,\r\n};\r\n
fn main() {
\r\nlet mut terminal = ratatui::init();
\r\nloop {
\r\nterminal
\r\n.draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello\r\nWorld!"), frame.area()))
\r\n.expect("Failed to draw");
\r\nif matches!(event::read().expect("failed to read event"),\r\nEvent::Key(_)) {
\r\nbreak;
\r\n}
\r\n}
\r\nratatui::restore();
\r\n}
\r\nA type alias
\r\nDefaultTerminal
is added to represent this\r\nterminal\r\ntype and to simplify any cases where applications need to pass this\r\nterminal around. It is equivalent to:\r\nTerminal<CrosstermBackend<Stdout>>
We also added
\r\nratatui::try_init()
and\r\ntry_restore()
, for situations\r\nwhere you might want to handle initialization errors yourself instead\r\nof letting the panic handler fire and cleanup. Simple Apps should\r\nprefer theinit
andrestore
functions over\r\nthese functions.Corresponding functions to allow passing a\r\n
\r\nTerminalOptions
with\r\naViewport
(e.g. inline, fixed) are also available\r\n(init_with_options
,\r\nandtry_init_with_options
).
... (truncated)
\r\nSourced from ratatui's\r\nchangelog.
\r\n\r\n\r\nv0.28.1\r\n- 2024-08-25
\r\nFeatures
\r\n\r\n
\r\n\r\n- \r\n
\r\ned51c4b\r\n(terminal) Add ratatui::init() and restore() methods by
\r\n@joshka
in #1289\r\n\r\nThese are simple opinionated methods for creating a terminal that is\r\nuseful to use in most apps. The new init method creates a crossterm\r\nbackend writing to stdout, enables raw mode, enters the alternate\r\nscreen, and sets a panic handler that restores the terminal on\r\npanic.
\r\nA minimal hello world now looks a bit like:
\r\n\r\nuse ratatui::{\r\n crossterm::event::{self, Event},\r\n text::Text,\r\n Frame,\r\n};\r\n
fn main() {
\r\nlet mut terminal = ratatui::init();
\r\nloop {
\r\nterminal
\r\n.draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello\r\nWorld!"), frame.area()))
\r\n.expect("Failed to draw");
\r\nif matches!(event::read().expect("failed to read event"),\r\nEvent::Key(_)) {
\r\nbreak;
\r\n}
\r\n}
\r\nratatui::restore();
\r\n}
\r\nA type alias
\r\nDefaultTerminal
is added to represent this\r\nterminal\r\ntype and to simplify any cases where applications need to pass this\r\nterminal around. It is equivalent to:\r\nTerminal<CrosstermBackend<Stdout>>
We also added
\r\nratatui::try_init()
and\r\ntry_restore()
, for situations\r\nwhere you might want to handle initialization errors yourself instead\r\nof letting the panic handler fire and cleanup. Simple Apps should\r\nprefer theinit
andrestore
functions over\r\nthese functions.Corresponding functions to allow passing a\r\n
\r\nTerminalOptions
with\r\naViewport
(e.g. inline, fixed) are also available\r\n(init_with_options
,\r\nandtry_init_with_options
).The existing code to create a backend and terminal will remain\r\nand
\r\n
... (truncated)
\r\n3a90e2a
\r\nchore(release): prepare for 0.28.1 (#1343)65da535
\r\nchore(ci): update release strategy (#1337)9ed85fd
\r\ndocs(table): fix incorrect backticks in TableState
docs (#1342)aed60b9
\r\nfix(terminal): Terminal::insert_before would crash when called while the\r\nview...3631b34
\r\ndocs(examples): add widget implementation example (#1147)0d5f3c0
\r\ntest: Avoid unneeded allocations in assertions (#1335)ed51c4b
\r\nfeat(terminal): Add ratatui::init() and restore() methods (#1289)23516bc
\r\nchore: rename ratatui-org to ratatui (#1334)6d1bd99
\r\ndocs: minor grammar fixes (#1330)2fb0b8a
\r\nfix: fix u16 overflow in Terminal::insert_before. (#1323)\r\n\r\n
\r\n\r\n##\r\n[0.4.4](https://github.com/ratatui-org/ratatui-macros/compare/v0.4.3...v0.4.4)\r\n- 2024-08-09\r\n\r\n### Other\r\n- *(deps)* bump ratatui to 0.28.0\r\n([#66](https://github.com/ratatui-org/ratatui-macros/pull/66))\r\n- *(deps)* bump trybuild from 1.0.98 to 1.0.99 in the cargo-dependencies\r\ngroup ([#65](https://github.com/ratatui-org/ratatui-macros/pull/65))\r\n- *(deps)* bump trybuild from 1.0.97 to 1.0.98 in the cargo-dependencies\r\ngroup ([#62](https://github.com/ratatui-org/ratatui-macros/pull/62))\r\n\r\n\r\n\r\n
831f5ef
\r\nRelease 1.0.99aeb7b06
\r\nMerge pull request #284\r\nfrom dtolnay/default-featuresfa107d6
\r\nKeep track of whether manifest overrides workspace dependency's\r\ndefault-features831f5ef
\r\nRelease 1.0.99aeb7b06
\r\nMerge pull request #284\r\nfrom dtolnay/default-featuresfa107d6
\r\nKeep track of whether manifest overrides workspace dependency's\r\ndefault-features