lib/sup/modes/thread_index_mode.rb in sup-0.13.2.1 vs lib/sup/modes/thread_index_mode.rb in sup-0.14.0

- old
+ new

@@ -854,17 +854,17 @@ break if cur_width >= from_width last = i == ann.length - 1 abbrev = if cur_width + name.display_length > from_width - name[0 ... (from_width - cur_width - 1)] + "." + name.slice_by_display_length(from_width - cur_width - 1) + "." elsif cur_width + name.display_length == from_width - name[0 ... (from_width - cur_width)] + name.slice_by_display_length(from_width - cur_width) else if last - name[0 ... (from_width - cur_width)] + name.slice_by_display_length(from_width - cur_width) else - name[0 ... (from_width - cur_width - 1)] + "," + name.slice_by_display_length(from_width - cur_width - 1) + "," end end cur_width += abbrev.display_length