feat: add whitespace-only command validation and suppress record failure stderr

Add guard in history_record to reject empty or whitespace-only commands before processing. Simplify cmd_record by removing redundant error messages for record failures and missing arguments, relying on history_record's internal validation instead.
This commit is contained in:
2026-04-02 09:23:37 +00:00
parent 42c4a638e1
commit 6124e34e35
5 changed files with 13 additions and 7 deletions
Binary file not shown.
Binary file not shown.