Is there a way to omit the key signature at the end of a line in this case?
%%%%
\version "2.24.2"
\score {
\relative c' {
\set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
\key b \major
b1
\break
\key c \major
c1
}
}
%%%%
