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

cmd(): Explicit custom targets #535

Merged
merged 2 commits into from
Mar 17, 2024
Merged

cmd(): Explicit custom targets #535

merged 2 commits into from
Mar 17, 2024

Conversation

tony
Copy link
Member

@tony tony commented Mar 17, 2024

Problem

-t checks in cmd() are breaking .send_keys() and potentially various other places where -t is passed as argument.

Changes

*.cmd(): Explicit target

Related

Copy link

codecov bot commented Mar 17, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 88.75%. Comparing base (4a7cfe3) to head (72f4638).

Files Patch % Lines
src/libtmux/server.py 66.66% 5 Missing ⚠️
src/libtmux/session.py 70.58% 4 Missing and 1 partial ⚠️
src/libtmux/pane.py 80.00% 0 Missing and 1 partial ⚠️
src/libtmux/window.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #535      +/-   ##
==========================================
+ Coverage   88.66%   88.75%   +0.08%     
==========================================
  Files          37       37              
  Lines        3969     3965       -4     
  Branches      575      574       -1     
==========================================
  Hits         3519     3519              
+ Misses        308      304       -4     
  Partials      142      142              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tony tony merged commit 12b4d39 into master Mar 17, 2024
25 checks passed
@tony tony deleted the cmd-refactor-target branch March 17, 2024 15:27
tony added a commit that referenced this pull request Mar 17, 2024
tony added a commit that referenced this pull request Mar 17, 2024
tony added a commit to tmux-python/tmuxp that referenced this pull request Mar 17, 2024
This should alleviate issues with `-t` values of pane / shell commands.

See also:
- tmux-python/libtmux#535
- #915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant