MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / is_gutter_span

Function is_gutter_span

crates/opencode-tui/src/components/session.rs:1179–1189  ·  view source on GitHub ↗
(content: &str)

Source from the content-addressed store, hash-verified

1177}
1178
1179fn is_gutter_span(content: &str) -> bool {
1180 let mut has_border = false;
1181 for ch in content.chars() {
1182 match ch {
1183 '│' | '┃' => has_border = true,
1184 ' ' => {}
1185 _ => return false,
1186 }
1187 }
1188 has_border
1189}
1190
1191fn point_in_optional_rect(area: Option<Rect>, col: u16, row: u16) -> bool {
1192 let Some(area) = area else {

Callers 3

paint_block_linesFunction · 0.85
paint_block_lineFunction · 0.85
wrap_block_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected