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

add search and find functionality #13

Closed
cdepillabout opened this issue Aug 26, 2018 · 1 comment · Fixed by #118
Closed

add search and find functionality #13

cdepillabout opened this issue Aug 26, 2018 · 1 comment · Fixed by #118
Assignees
Labels

Comments

@cdepillabout
Copy link
Owner

@cdepillabout cdepillabout commented Aug 26, 2018

It would be great if Termonad had the ability to search for and find text in the terminal.

Roxterm provides a similar functionality:

file6

If you click Find, you get a dialog asking you what to search for:

file7

The steps for adding this would be something like as below:

  1. Create a menu for Find as described in step 1 of #10.

  2. Setup the callbacks for the menu buttons as described in step 2 of #10.

  3. Create a dialog asking the user what to search for. Here is a example of creating a dialog box (but there might be a much better way to do it, using the object builder).

  4. Figure out how to actually perform a search within a terminal. You'll probably need some functions from GI.Vte.Objects.Terminal.

  5. You'll probably also need to figure out how to implement the Find Next functionality. The current state of the search will probably need to saved somewhere. Ideally this would be managed per terminal, instead of with all terminals at once. (Or maybe not?)

@cdepillabout

This comment has been minimized.

Copy link
Owner Author

@cdepillabout cdepillabout commented Jul 21, 2019

I'm currently working on implementing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.