Adding function to print without messing with current prompt