The lines typed at the command prompt are walked with up and down and kept in .wlhistory in the board's own folder, so a recall spans runs rather than one opening of the prompt. One Recall per tab, parallel to Board::tabs, so the tab in view decides which list up walks: a project's lines are the ones naming its ticket ids. The merge tab is no board, so it keeps its lines for the run and writes no file, the answer current_project already gives a command typed there. The position sits on Prompt and the lines on Recall, so closing the prompt forgets the position and not the lines. A failed write is silent and an unreadable file is an empty recall: the line is in memory either way. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
23 lines
641 B
TOML
23 lines
641 B
TOML
[package]
|
|
name = "worklane"
|
|
version = "0.32.17"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
anyhow = "1"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
libc = "0.2"
|
|
# unstable-rendered-line-info for Paragraph::line_count, which is how the detail view
|
|
# knows where its text ends. Counting the wrapping by hand would only agree with the
|
|
# widget until one of us changed.
|
|
ratatui = { version = "0.29", features = ["unstable-rendered-line-info"] }
|
|
crossterm = "0.28"
|
|
clap_complete = "4.6.9"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2"
|
|
assert_fs = "1"
|
|
tempfile = "3"
|