terminal: port to new panel api