Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ ansi_length
Function
ansi_length
crates/opencode-util/src/util.rs:29–31 ·
view source on GitHub ↗
(s: &str)
Source
from the content-addressed store, hash-verified
27
}
28
29
pub fn ansi_length(s: &str) -> usize {
30
strip_ansi(s).len()
31
}
32
}
33
34
pub mod timeout {
Callers
nothing calls this directly
Calls
1
strip_ansi
Function · 0.85
Tested by
no test coverage detected