edit terminal output