Fix terminalapp plugin #2416