diff --git a/ollama/ollama-cli/src/tui/messages/view.rs b/ollama/ollama-cli/src/tui/messages/view.rs index 52bbcad..dfaed91 100644 --- a/ollama/ollama-cli/src/tui/messages/view.rs +++ b/ollama/ollama-cli/src/tui/messages/view.rs @@ -12,7 +12,7 @@ use crate::ollama::chat::Message; use super::MessagesViewModel; -const ELIPSIS: &str = "[...]"; +const ELLIPSIS: &str = "[...]"; #[derive(Default)] struct MessageViewBuilder { @@ -97,7 +97,7 @@ fn fit_content(content: &str, width: u16, height: u16) -> Vec> { if (height as usize) <= content_lines.len() { content_lines.pop(); - content_lines.push(ELIPSIS.into()); + content_lines.push(ELLIPSIS.into()); } content_lines diff --git a/ollama/ollama-cli/typos.toml b/ollama/ollama-cli/typos.toml new file mode 100644 index 0000000..372dc95 --- /dev/null +++ b/ollama/ollama-cli/typos.toml @@ -0,0 +1,2 @@ +[default.extend-words] +ratatui = "ratatui"