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

[Enh request] Filter #37

Open
ToontjeM opened this issue Feb 19, 2024 · 2 comments
Open

[Enh request] Filter #37

ToontjeM opened this issue Feb 19, 2024 · 2 comments

Comments

@ToontjeM
Copy link

Please add a filter that lets you enter a string and only lines with (or without) that string are shown.

@JohnAmadeo
Copy link

@willmcgugan off the top of your head, do you know if this would be a fairly simple addition?

e.g Would be sufficient to add an else-block at this code pointer & not call text.render at this code pointer:

if self.find and self.show_find:
self.highlight_find(text)
strip = Strip(text.render(self.app.console), text.cell_len)

I might be interested in taking a crack at adding this if it's a small-ish change

@ser
Copy link

ser commented May 19, 2024

it would be extremaly useful indeed!

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

No branches or pull requests

3 participants