Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Cell styles: no `--cells` option, and forced pixels in a narrow window draw nothing

Aperta
#142 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
cli, frontend

Direzione di ricerca

Start with option parsing and the rendering and style-cycle paths in src/app.rs (especially the areas around lines 120 and 620–650), then check the help text in src/ui.rs. Trace how cell size and available terminal width affect pixel drawing. Done when --cells STYLE works, narrow windows either draw fitting weeks or skip oversized styles, and the missing-size hint appears whenever a graphics protocol is detected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Today

  • There is no --cells STYLE option. mossaic --cells squares gives unknown option. Auto picks sextant cells at 165+ columns, and a font without sextants (mossaic-glyphs says to check) means pressing d three times on every launch.
  • With pixel cells forced in a window too narrow for them, the note says "pixel cells need 112 columns — d forces them, clipped". After d, the grid and legend are blank and no image is sent at all (src/app.rs:650). Tooltips still work for days that aren't drawn. "Press d for a smaller style" then walks through wider styles (src/app.rs:120).
  • A terminal that speaks kitty or sixel but reports no cell size silently gets text, and the help overlay suggests switching terminals. The pass --cell WxH hint appears only when --graphics is forced (src/app.rs:620-639, src/ui.rs).

Fix

  • Add --cells STYLE, and point mossaic-glyphs at it.
  • Draw the weeks that fit, or skip pixel cells in the cycle when they don't fit. Make d from an overflowing style go to the widest one that fits.
  • Show the --cell WxH hint whenever a graphics protocol is there but the size isn't.
Lingua principale
Rust
Stelle
2
Fork
1
Merge medio
17h 38m
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di vyncint/mossaic

Tutte le issue di vyncint/mossaic

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.