Closed niknetniko closed 6 months ago
Currently, we just add the stdin below the command that is executed, which is not clear at all. We now use here-doc to display stdin in that case.
If only stdin is used, nothing changes: only stdin is shown.
It looks like this:
The colouring is sometimes a bit wonky, both Rouge and Pygments are not that good at highlighting here-docs.
Fixes #484.
Colouring wasn't reliable either in the current representation (text highlighted as if it were a shell command), so that's no reason not to make the change. Indeed looks like an improvement to me.
Currently, we just add the stdin below the command that is executed, which is not clear at all. We now use here-doc to display stdin in that case.
If only stdin is used, nothing changes: only stdin is shown.
It looks like this:![image](https://github.com/dodona-edu/universal-judge/assets/1756811/a76e5622-cbcb-4fcc-bb00-037bc017b554)
The colouring is sometimes a bit wonky, both Rouge and Pygments are not that good at highlighting here-docs.
Fixes #484.