AntonGepting / tmux-interface-rs

Rust language library for communication with TMUX via CLI
MIT License
51 stars 5 forks source link

Typo in run-shell #9

Closed Ganneff closed 1 year ago

Ganneff commented 2 years ago

https://github.com/AntonGepting/tmux-interface-rs/blob/7a1dea0ad658e2cb8743311480d207ad1d196a48/src/commands/miscellaneous/run_shell.rs#L43

Should be background()

AntonGepting commented 2 years ago

Hello,

thank you for choosing/using the library. There could be more typing mistakes like this and even worse problems. Unfortunately detected in if_shell() too.

You can try to use hotfix branch instead of main if you want this update right now or just wait for the next version.

Thank you for reporting!

Ganneff commented 2 years ago

Thanks. I just wait for the next release. I only spotted it, I don't use the background() part of run_shell, (I'm mostly opening windows/panes and setting some options, depending on what user wants. Porting my old shell script to Rust (https://github.com/Ganneff/tm) and your tmux-interface made it much easier to do so. Thanks for that!)

AntonGepting commented 2 years ago

Awesome! If you have any other problems or suggestions while using the library, please feel free to contact me.

AntonGepting commented 1 year ago

fixed in v0.3.0

thank you, and sorry about long waiting time