better printing in tui