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

Input is not being preserved #29

Closed
sga-13 opened this issue Nov 15, 2024 · 1 comment · Fixed by #62
Closed

Input is not being preserved #29

sga-13 opened this issue Nov 15, 2024 · 1 comment · Fixed by #62
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@sga-13
Copy link

sga-13 commented Nov 15, 2024

Description
I have a script where i have some input given to fzf/tv by std in, there are some terms which are tab separated and some by space (and all most all possible input things). If i use fzf for selection, the output generated preserves the tabs and spaces, whereas tv is possibly converting tabs to spaces.

here is a video of expected behavior (fzf) and issue in tv. Commands are essentially simple cut commands, splitting by tab separator.

output

Example
(sorry this is not a minimal example, but the quickest one i can come up with which is elaborate) https://codeberg.org/sga/pages/src/branch/main/scripts/launcher.sh

Expected behavior
preserving input characters.

Actual behavior
characters are not prsereved.

Environment

  • OS: Linux 6.11.8-arch1-2
  • Rust version: rustc 1.82.0 (f6e511eec 2024-10-15) (Arch Linux rust 1:1.82.0-2)
  • Project version:
    television 0.4.21
    target triple: x86_64-unknown-linux-gnu
    build: 1.82.0 (2024-11-13)
  • [Any other dependency version if needed]
@sga-13 sga-13 added the bug Something isn't working label Nov 15, 2024
@alexpasmantier alexpasmantier added the good first issue Good for newcomers label Nov 20, 2024
@alexpasmantier alexpasmantier self-assigned this Nov 22, 2024
@alexpasmantier
Copy link
Owner

Thanks for the feedback 🙏🏻
Should be fixed by #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants