Display loading animation in the terminal