Add input formatting for interactive CLI

When users type prompts in interactive mode, the input is now
reformatted in place with enhanced highlighting:

- ALL CAPS words (2+ chars) become bold green (e.g., FIX, BUG, HTTP2)
- Quoted text ("..." or ...) becomes cyan
- Standard markdown formatting is also supported

New module: input_formatter.rs with 10 unit tests
Integrated into interactive.rs for both single-line and multiline input
This commit is contained in:
Dhanji R. Prasanna
2026-01-30 12:03:36 +11:00
parent 2e21502357
commit 4e1694248f
3 changed files with 206 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ mod g3_status;
mod template;
mod completion;
mod project;
mod input_formatter;
use anyhow::Result;
use std::path::PathBuf;