leetctl 0.3.0

LeetCode command-line interface in Rust, with curated problem sets and filtered random picking.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! The terminal frontend: a filterable problem table
//!
//! Architecture: one `Msg` channel drained by the UI thread ([`app::run`]). Key events, cache
//! reads, and network calls all arrive as messages; rendering happens after each batch. See
//! `docs/tui.md` for the threading contract.

mod app;
mod input;
mod search;
mod view;
mod wrap;

pub use app::{Options, run};

pub(crate) use app::{LIST_ROWS_MARGIN, Mode, Model, Prompt, PromptKind, SetChoice};

#[cfg(test)]
pub(crate) use app::{ExecOutcome, test_model};