add verification to check if escapeKeys have elements (pkg/term/proxy.go) Upstream-commit: d4e48af48d1a2d7427ccd9f950cf6bc6ff5682b6 Component: engine