Skip to content

Conversation

karlicoss
Copy link

Default width for this function is 79 characters, so it many headings end up trimmed.
Not sure how it went unnoticed, because I believe it's the code path taken by default settings :)

Default width for this function is 79 characters, so it many headings end up trimmed.
Not sure how it went unnoticed, because I believe it's the code path taken by default settings :)
@alphapapa
Copy link
Owner

@karlicoss Apologies for overlooking this PR. This is probably a good change to make. At least, we need to pass something so the default width isn't used. But I wonder if we should make it configurable, and e.g. if the user wants to use window-width, if that value should be captured when the search begins and a variable used in this expression.

What do you think? Thanks.

@natask
Copy link

natask commented Nov 13, 2020

I think I would rather have the headline fold to another line instead of truncate as a default. When the headline includes links for example, they tend to get truncated in a manner that withholds the link description, making it harder to select between headlines.

natask added a commit to natask/org-rifle that referenced this pull request Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants