comparison hgeditor @ 50302:22d7cb8174ef stable

histedit: fix diff colors The problem here is that indexing a bytestring gives you integers, not chars, so the comparison to b'+' ends up being wrong. We don't really have a way to test curses output, so no tests to verify the correctness of this behaviour.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 27 Oct 2022 17:34:02 -0400
parents 1aee2ab0f902
children
comparison
equal deleted inserted replaced
50301:9fc0d244a753 50302:22d7cb8174ef