fix for syncterm or other terminals with statusline