Handle `cerr` in terminal pager
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 30/100
Direção de pesquisa
A issue não identifica arquivos, testes ou um ponto de entrada específico. Comece localizando a implementação do pager do terminal e lendo a discussão de #46; em seguida, estabeleça qual estratégia para lidar com cerr o projeto aceita. Considera-se concluído quando cerr é tratado de acordo com essa decisão sem bloquear o trabalho do pager.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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?
- Linguagem predominante
- C++
- Estrelas
- 6
- Forks
- 5
- Merge médio
- 4h 22min
- PRs com merge (30d)
- 4
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de QuantStack/git2cpp
-
enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
QuantStack/git2cpp#134 ·
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 42/100
QuantStack/git2cpp#131 · 1 comentário ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
QuantStack/git2cpp#62 ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
QuantStack/git2cpp#51 · 1 comentário ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
QuantStack/git2cpp#50 ·
Todas as issues de QuantStack/git2cpp
Issues semelhantes
-
[BUG] Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
eunomia-bpf/llvmbpf#51 · 1 comentário ·
-
status:needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
PX4/PX4-Autopilot#28776 ·
-
Website Doc Typo Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 92/100
autowarefoundation/autoware_universe#13413 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100