Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tmux control mode v2 #408

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
57742c0
Add tmux support
manno Jan 31, 2021
d528ea3
wip: fix tmux mode
manno Jan 31, 2021
52047e7
Ignore virtual environment folder
iamjackg Mar 21, 2021
279fc1e
Disable buffering so stdin is immediately sent
iamjackg Mar 21, 2021
6d62711
Fix emptying out of queue (hack)
iamjackg Mar 21, 2021
294ff92
Use callback name instead of function references
iamjackg Mar 21, 2021
753b946
Import get_column_row_count
iamjackg Mar 21, 2021
473cac5
Use bytes everywhere for now, we'll do some proper decoding where nec…
iamjackg Mar 21, 2021
68d2a8c
Add a bunch of embarrassing debug messages
iamjackg Mar 21, 2021
17810e6
Reformat with Black
iamjackg Mar 21, 2021
b829922
Return True after handling keypress
iamjackg Mar 21, 2021
a5e91a9
Return True after handling keypress
iamjackg Mar 21, 2021
08f27fb
Return True after handling keypress
iamjackg Mar 21, 2021
92f9e27
Return True after handling keypress
iamjackg Mar 21, 2021
ab6400d
Remove Shell forking message when using tmux
iamjackg Mar 21, 2021
2f4988b
Not all notifications have more than one word
iamjackg Mar 21, 2021
39cd00a
Rename run_command to spawn_tmux_child
iamjackg Mar 21, 2021
bb526b5
Disable zooming and terminal drag and drop when in tmux mode
iamjackg Mar 21, 2021
167616f
Try to account for terminal separators when giving tmux a window size
iamjackg Mar 21, 2021
87f2697
Lint
iamjackg Mar 21, 2021
cdcdb2d
Handle tmux closing a window on us
iamjackg Mar 21, 2021
db6ebdb
Don't determine CWD if using a remote tmux instance
iamjackg Mar 21, 2021
71fe7d9
Don't buffer remote connections
iamjackg Mar 21, 2021
67bcb33
Prevent zooming through any means when in tmux mode
iamjackg Mar 21, 2021
b0765b8
Black
iamjackg Mar 21, 2021
1c75233
Clean up some debug messages
iamjackg Mar 21, 2021
358a223
Clean up some debug messages
iamjackg Mar 21, 2021
9374c3e
Fix tests
iamjackg Mar 21, 2021
94ad8e0
Actually fix test
iamjackg Mar 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disable buffering so stdin is immediately sent
  • Loading branch information
iamjackg committed Mar 21, 2021
commit 279fc1ed27b5fd73ca65d52ec52e6ce6162eeddf
2 changes: 1 addition & 1 deletion terminatorlib/tmux/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def attach_session(self):
if not self.tmux:
self.tmux = subprocess.Popen(popen_command,
stdout=subprocess.PIPE,
stdin=subprocess.PIPE)
stdin=subprocess.PIPE, bufsize=0)
self.input = self.tmux.stdin
self.output = self.tmux.stdout
self.requests.put(notifications.noop)
Expand Down