Cell styles: no `--cells` option, and forced pixels in a narrow window draw nothing
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
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
Today
- There is no
--cells STYLEoption.mossaic --cells squaresgivesunknown option. Auto picks sextant cells at 165+ columns, and a font without sextants (mossaic-glyphs says to check) means pressingdthree 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 WxHhint appears only when--graphicsis 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
dfrom an overflowing style go to the widest one that fits. - Show the
--cell WxHhint 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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di vyncint/mossaic
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
vyncint/mossaic#57 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
An unknown terminal background makes the chart text unreadable on light terminals and WindowsApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
In small windows the way out disappears, and the failure screen offers a key that does nothingApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di vyncint/mossaic
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
compiler P4 perf
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
HerringtonDarkholme/hd-lang#1044 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted r-docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
servo/rust-smallvec#824 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
akitaonrails/ai-usagebar#552 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100