UNPKG

kui-shell

Version:

This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool

13 lines 476 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function cleanupTerminalAfterTermination(element) { const cursor = element.querySelector('.xterm-rows .xterm-cursor'); const cursorRow = cursor && cursor.parentNode; if (cursorRow) { if (cursorRow.children.length === 1) { cursorRow.remove(); } } } exports.cleanupTerminalAfterTermination = cleanupTerminalAfterTermination; //# sourceMappingURL=util.js.map