(3686dd6) Open a command prompt on the board with : and parse what is typed, and bump to 0.32.15
The board reads. Changing anything meant quitting it and retyping an id that was already selected. So `:` opens a one line editor in the footer and the line is a worklane command, spelled exactly as the shell spells it. This is the mode and the grammar check, not the doing. Enter tokenises the line with split_line, prepends the binary's own name and hands the arguments to the same Cli definition the shell reaches, so a flag added to a command is typeable here the day it is added and no list of verbs lives on the board to go stale. A line that resolves is named and the prompt closes; a line that does not keeps the prompt open with the line intact and clap's own message, cut back to what fits a row. Running it is 53ffb94, and the notice and the `↵ check` key both say so rather than reading like a move that happened. The prompt owns the keyboard while it is open, the contract search_key and picker_key already keep, and declines ctrl-c for the same reason they do. A line that ends inside a quote never reaches clap, which is what the splitter's Unclosed state is for. --help is caught, or clap's page lands on the alternate screen the way an unsunk println! would. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
bf7d8e05d8
commit
f16e2aba0c
Generated
+1
-1
@@ -1503,7 +1503,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "worklane"
|
||||
version = "0.32.14"
|
||||
version = "0.32.15"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"assert_cmd",
|
||||
|
||||
Reference in New Issue
Block a user