Desktop: CP_SEARCH sets the quick search at start (screenshots)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
29ffff3de9
commit
8c8a723eee
2 changed files with 5 additions and 1 deletions
|
|
@ -318,6 +318,10 @@ impl LargeView {
|
|||
}
|
||||
}
|
||||
}
|
||||
// `CP_SEARCH="carlsen 2024"`: the quick search from the start (screenshots).
|
||||
if let Ok(t) = std::env::var("CP_SEARCH") {
|
||||
form.search = t;
|
||||
}
|
||||
let (board, mut pane) = match SearchBoard::from_env() {
|
||||
Some(b) => (b, Pane::Board),
|
||||
None => (SearchBoard::new(), Pane::Filters),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue