Add ability to cycle through history in cli with the up/down keys #46

Merged
Vylpes merged 2 commits from feature/24-cycle-session-history into release/0.1.0 2026-10-31 11:53:47 +00:00
Owner

#24

#24
Smithy-bot approved these changes 2026-10-31 11:02:37 +00:00
Smithy-bot left a comment

Approved for #24.

Interactive CLI uses rustyline for Up/Down recall with in-session history only (add_history_entry, no persistence file). Inputs are recorded before evaluate so bad expressions can be edited; quit/exit and blank lines are excluded. SessionHistory + integration tests cover recording rules; crate layout change (vyxcalc lib) is consistent. Looks good to merge.

**Approved** for #24. Interactive CLI uses `rustyline` for Up/Down recall with in-session history only (`add_history_entry`, no persistence file). Inputs are recorded before evaluate so bad expressions can be edited; quit/exit and blank lines are excluded. `SessionHistory` + integration tests cover recording rules; crate layout change (`vyxcalc` lib) is consistent. Looks good to merge.
Vylpes merged commit 0a6bde4fb9 into release/0.1.0 2026-10-31 11:53:47 +00:00
Vylpes deleted branch feature/24-cycle-session-history 2026-10-31 11:53:47 +00:00
Sign in to join this conversation.
No description provided.