Fix margins in terminal