Skip to content

add search and find functionality #13

@cdepillabout

Description

@cdepillabout

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 add a way to enlarge font with key combination #10.

  2. Setup the callbacks for the menu buttons as described in step 2 of add a way to enlarge font with key combination #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?)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions