Only check non-empty lines to prevent prompt spamming