"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sanitizeName = sanitizeName;
/** tmux session names accept [a-zA-Z0-9_-]; drop everything else and clamp length. */
function sanitizeName(name) {
    return name.replace(/[^a-zA-Z0-9_-]+/g, '_').slice(0, 80);
}
//# sourceMappingURL=sanitize-name.js.map