I can’t test right now to see if it’ll do what you expect (that’s up to the terminal emulator you’re using, so the driver station), but your ESC should probably be \e or \033 - Assuming you’re looking at wiki pages or similar, they mean ESC as in the literal escape character code.