Fix Linux blank line handling for PLMTerminal