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

Method should_show_tips

crates/opencode-tui/src/components/home.rs:278–282  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

276 }
277
278 fn should_show_tips(&self) -> bool {
279 let is_first_time_user = self.context.session.read().sessions.is_empty();
280 let tips_hidden = *self.context.tips_hidden.read();
281 !is_first_time_user && !tips_hidden
282 }
283}
284
285fn parse_tip_highlights(tip: &str, theme: &crate::theme::Theme) -> Vec<Span<'static>> {

Callers 1

render_with_promptMethod · 0.80

Calls 2

is_emptyMethod · 0.80
readMethod · 0.80

Tested by

no test coverage detected