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

zk list outputs redundant end of buffer characters #409

Open
2 tasks done
tjex opened this issue May 8, 2024 · 0 comments
Open
2 tasks done

zk list outputs redundant end of buffer characters #409

tjex opened this issue May 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tjex
Copy link
Member

tjex commented May 8, 2024

Check if applicable

  • I have searched the existing issues (required)
  • I'm willing to help fix the problem and contribute a pull request

Describe the bug

When outputting a list of notes, zk includes end of buffer symbols in stdout.

How to reproduce?

  1. Add or edit a note with content "This note holds the string: TKTK"
  2. Save and exit
  3. Run `zk list --match "TKTK"

Only one note should be found ("TK" exists effectively nowhere in english language), there should be many EOB symbols as shown below the case of my term output:

~/wikis/ps main
> zk list --match TKTK --format path
r/sbkm.md
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

Found 1 note

~/wikis/ps main
> 

zk configuration

This is not dependant on config.

Environment

zk 0.14.0-28-g0973f99
system: Darwin 23.4.0 arm64
@tjex tjex added the enhancement New feature or request label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant