feat: cursor movement in ask_user free-form input
- Replace bare string with Editor in choose.rs typing input - Support ←/→ (left/right arrow keys) for cursor movement - Add Home/End, ctrl-a/ctrl-e, Delete, Up/Down between lines - Keep ctrl-w (kill word), add ctrl-u (kill line) - Render cursor marker ▏ at actual position in multi-line answers - Update help text to mention cursor movement - Add test: type, move cursor, insert character mid-text Also: delete 4 comment lines from scripts/lint-comments.sh (tautology). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a94632ea3d
commit
ec1c4fb41a
2 files changed
+51
-30
No files matched your search
@@ -1,8 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
# Ratchet lint: comments are banned. Each file may hold at most the number of
|
||||
# comment lines recorded in .comment-baseline; the number can only go down.
|
||||
# scripts/lint-comments.sh check (CI)
|
||||
# scripts/lint-comments.sh --update rewrite the baseline from the tree
|
||||
set -euo pipefail
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
|
||||
Reference in new issue
Block a user