pub fn buffer_to_string_plain(buffer: &Buffer) -> String
Convert a ratatui Buffer to a plain string (no ANSI codes).
Only extracts the text content, ignoring colors and styles.