Skip to content

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

@codecov
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 force-pushed the cmd-refactor-target branch 4 times, most recently from 7a4fe80 to 1e0aeb1 Compare March 17, 2024 14:57
@tony tony force-pushed the cmd-refactor-target branch from 1e0aeb1 to 72f4638 Compare March 17, 2024 15:23
@tony tony merged commit 12b4d39 into master Mar 17, 2024
@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.

2 participants