Tabs inserted into the shell will not have the appropriate spacing. Config value iTabSpacing should be read to determine how the spacing is displayed.