irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

Give /lastlog -window parameter to recognize "last" #831

Open irssibot opened 12 years ago

irssibot commented 12 years ago

Currently /lastlog accepts ref# or name as valid -window parameter. e.g. /lastlog -window 4 foobar I'd love to be able to use "last" as a -window parameter to search in the last active window.

With this a user could create the following alias: /alias lastloglast lastlog -window last $0

The user can now skip looking for the windowref# in case he wants to avoid filling the backbuffer of the current window with search results.

(Maybe is is achievable by a simple chain of aliases.)

Thank you for reading!