a rust tui to view amtrak train status
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Brighten city labels and offset from map features

City labels were nearly invisible at RGB(70,70,85) — blending into
the braille dots. Bumped to RGB(130,125,115) (warm off-white) and
added a slight right/up offset so they don't sit directly on top of
map geometry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+7 -4
+7 -4
src/ui.rs
··· 310 310 } 311 311 } 312 312 313 - // Layer 8: City labels 313 + // Layer 8: City labels — offset slightly right/up to avoid sitting on features 314 314 if show_cities { 315 315 for (lon, lat, ref name) in &city_labels { 316 316 ctx.print( 317 - *lon, 318 - *lat, 319 - Span::styled(name.clone(), Style::default().fg(Color::Rgb(70, 70, 85))), 317 + *lon + vp_width * 0.004, 318 + *lat + vp_width * 0.002, 319 + Span::styled( 320 + name.clone(), 321 + Style::default().fg(Color::Rgb(130, 125, 115)), 322 + ), 320 323 ); 321 324 } 322 325 }