diff --git a/xW/xW.cpp b/xW/xW.cpp index 199adba..20ae32e 100644 --- a/xW/xW.cpp +++ b/xW/xW.cpp @@ -695,7 +695,7 @@ buffer_print_line(std::vector::const_iterator begin, static void buffer_print_separator() { - bool sameline = !GetWindowTextLength(g.hwndBuffer); + bool sameline = !buffer_reset_selection(); CHARFORMAT2 format = default_charformat(); format.dwEffects &= ~CFE_AUTOCOLOR;