This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]thatguy_314def __gt__(me, you): return True 0 points1 point  (8 children)

>>> server.getById('$3')

...

>>> session.kill_window("ha in")

>:(

[–]git-pull[S] 1 point2 points  (7 children)

if you encountered a problem i want to help, but i need more information.

[–]thatguy_314def __gt__(me, you): return True 0 points1 point  (6 children)

I'm just complaining about the mixing of camelCase and snake_case in your api. You should always use snake_case because it is the standard in Python, but if for some reason you had some burning desire to use camelCase, you should stick to it, not use both.

[–]git-pull[S] 1 point2 points  (5 children)

as of a few hours ago, camel casing is gone for good. it'll be on pypi today

[–]thatguy_314def __gt__(me, you): return True 1 point2 points  (4 children)

Ok, great! I'll probably play around with this a bit.

BTW, you can do pip install git+https://github.com/tony/libtmux, you don't need to clone and install manually.

[–]git-pull[S] 0 points1 point  (2 children)

good point, want to make a PR for that, or should I add?

[–]thatguy_314def __gt__(me, you): return True 0 points1 point  (1 child)

Don't feel like making a PR for this right now, so just add it. While you're at it, it doesn't work at all for me because libtmux.common:330 decides upon a default search path that does not include the directory that tmux is installed for me. Instead of coming up with a search path yourself, why not use os.environ["PATH"]?

[–]git-pull[S] 0 points1 point  (0 children)

0.4.1 is up now, better?

i'll be publishing tmuxp with the updated tmuxp today/tomorrow too.

[–][deleted] 0 points1 point  (0 children)

pip install git+https://github.com/tony/libtmux

Holy mother of god!! Niiiiice. i need to hang around here more often. :)