shabble / irssi

Personal Fork of Irssi IRC client
Other
8 stars 2 forks source link

Lastlog searching with / #19

Open shabble opened 12 years ago

shabble commented 12 years ago

Add support for searches with / and ?.

Search begins with /<pattern> or ?<pattern> from command mode.

Internally, runs a /lastlog <pattern> <$max_matches>, and consumes the result (not printed).

Parse timestamps or do other cunning matching things to find the position of each match in the scrollback.

Jump the window-item view back to the most recent match with /sb goto ...

Each subsequent / (or n) in command-mode moves to the next match in the buffer. ? moves in the opposite direction.

Any new pattern invalidates the current jump list.

TODO

shabble commented 12 years ago