The intent is to expose Mux related functions to lua, so `wezterm.mux` will be that module table. In order to test this out in the debug overlay, I realized that the overlay was running functions in a different thread and didn't have access to the mux, so this commit also tweaks the debug overlay repl to execute the input in the main thread. The result is that it is now possible to do `wezterm.mux.active_workspace()` in the debug overlay to print the active workspace name. More functions will follow. refs: https://github.com/wez/wezterm/issues/225
34 lines
952 B
TOML
34 lines
952 B
TOML
[package]
|
|
name = "env-bootstrap"
|
|
version = "0.1.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
backtrace = "0.3"
|
|
chrono = {version="0.4", features=["unstable-locales"]}
|
|
config = { path = "../config" }
|
|
dirs-next = "2.0"
|
|
lazy_static = "1.4"
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
env_logger = "0.9"
|
|
termwiz = { path = "../termwiz" }
|
|
battery = { path = "../lua-api-crates/battery" }
|
|
termwiz-funcs = { path = "../lua-api-crates/termwiz-funcs" }
|
|
logging = { path = "../lua-api-crates/logging" }
|
|
mux-lua = { path = "../lua-api-crates/mux" }
|
|
filesystem = { path = "../lua-api-crates/filesystem" }
|
|
ssh-funcs = { path = "../lua-api-crates/ssh-funcs" }
|
|
spawn-funcs = { path = "../lua-api-crates/spawn-funcs" }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
winapi = "0.3"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
cocoa = "0.20"
|
|
objc = "0.2"
|
|
|