@dragunovartem99/flow
Version:
Declarative tmux session configuration for web development
36 lines (29 loc) • 511 B
JavaScript
import { Command } from "../terminal/Command.js";
export class Window {
constructor(name, keys) {
this.
keys && (this.
}
set session(session) {
this.
}
get name() {
return this.
}
get id() {
return this.
}
sendKeys() {
if (this.
new Command("send-keys")
.with("-t", this.id)
.with(`"${this.#keys}"`)
.with("ENTER")
.run();
}
return this;
}
}