NUCLEO-STM32L432KC: How to use UART through USB?
There was a screen process still running in the background that didn't close properly. Force closing the remaining process and restarting screen worked.