Fix: log window width is sometimes wrong (#2)
Fix: find_index cause E684
Uncommitted message appears at exact position
Fix: Test fails when terminal size is too small