diff options
author | Thomas Otto <78380144+th1000s@users.noreply.github.com> | 2021-04-23 15:57:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 09:57:57 -0400 |
commit | 535ba79da0456bb4c3c1e20bb8dfb6456407b12c (patch) | |
tree | 7eb91f18aa4bd7e50e39065c06510755bef80861 /src/tests/test_example_diffs.rs | |
parent | ce5dd0c47aa71f08590b3b518dc9c7162b727c10 (diff) |
Fix --show-syntax-themes exhausting stdin (#569)
If a diff is provided via stdin then the first `_show_syntax_themes`
call reads from it directly and uses that, but the second one finds
nothing is left to read and falls back to the default. Fixed by
reading from stdin earlier.
Diffstat (limited to 'src/tests/test_example_diffs.rs')
0 files changed, 0 insertions, 0 deletions