Trimming text by the number of the columns for terminals etc
