Fix formatting: break long lines for rustfmt compliance
Rustfmt requires long chained method calls to be broken across multiple lines when they exceed line length limits. Changes: - Break visual_width() iterator chains in renderer.rs - Break visual_width() iterator chains in terminal.rs - Fix comment alignment in ansi.rs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@ pub fn strip_ansi(text: &str) -> String {
|
||||
// Skip ANSI escape sequence
|
||||
if chars.peek() == Some(&'[') {
|
||||
chars.next(); // consume '['
|
||||
// Skip until we hit a letter (the command character)
|
||||
// Skip until we hit a letter (the command character)
|
||||
while let Some(&c) = chars.peek() {
|
||||
chars.next();
|
||||
if c.is_ascii_alphabetic() {
|
||||
|
||||
Reference in New Issue
Block a user