Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T05:18:28.592Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

colors.rs

11 lines · 307 B · rust
1use gpui::Rgba;
2use vte::ansi::Rgb as VteRgb;
3
4pub(crate) fn to_vte_rgb(color: impl Into<Rgba>) -> VteRgb {
5    let color = color.into();
6    let r = ((color.r * color.a) * 255.) as u8;
7    let g = ((color.g * color.a) * 255.) as u8;
8    let b = ((color.b * color.a) * 255.) as u8;
9    VteRgb { r, g, b }
10}
11
Served at tenant.openagents/omega Member data and write actions are omitted.