Handle `cerr` in terminal pager
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
L’issue non identifica file, test o un punto di ingresso specifico. Inizia individuando l’implementazione del pager del terminale e leggendo la discussione di #46, quindi stabilisci quale strategia per la gestione di cerr il progetto accetta. Il lavoro è completato quando cerr viene gestito secondo tale decisione senza bloccare il lavoro sul pager.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Need to handle cerr as well as cout in terminal pager. Discussion from #46:
Ian:
We do need a strategy for what to do with cerr, but I don't know what is best yet.
Currently cerr will be written to the normal terminal buffer, so it won't be seen whilst the alternative buffer is being used but it reappears when the alternative buffer is disabled. This is perhaps not a good solution, but I don't think it is too bad for a first implementation. Some other options:
- Capture it and sent it to the same place as cout, it will appear in the output flow in the alternative buffer. We'd probably need to colour it to make is easily visible as it could be anywhere.
- Capture it and display it at the bottom of the alternative buffer for better visibility, but then there might be quite a lot of information displayed.
- Capture it and if anything at all is written to it we could avoid using the pager at all, just display the errors in the normal terminal flow.
Johan:
I have a preference for option 1, but I think we can discuss it in a dedicated issue and solve it in a dedicated PR so that it does not block this one, WDYT?
- Lingua principale
- C++
- Stelle
- 6
- Fork
- 5
- Merge medio
- 4h 22m
- PR unite (30g)
- 4
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 QuantStack/git2cpp
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
QuantStack/git2cpp#134 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
QuantStack/git2cpp#131 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
QuantStack/git2cpp#62 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
QuantStack/git2cpp#51 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
QuantStack/git2cpp#50 ·
Tutte le issue di QuantStack/git2cpp
Issue simili
-
[BUG] Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
eunomia-bpf/llvmbpf#51 · 1 commento ·
-
status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PX4/PX4-Autopilot#28776 ·
-
Website Doc Typo Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
autowarefoundation/autoware_universe#13413 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100