onDidOpenTerminal

An Event which fires when a terminal has been created, either through the createTerminal API or commands.

Online Documentation