As mentioned in #625 it might be right to just change it to always return @shell.client_area.width - however then we get weird behavior when scroll bars appear... e.g. the width then is not the width specified if I'm not mistaken.