code: def show_in_view(self, sourceview, matches, targetname=None):
          
          append = self.options.append_view or self.options.alter_view == 'append'
          remove = self.options.alter_view == 'remove'
          action_name = ', appending to' if append else ', removing from' if remove else ' into'
          targetname = config.engine.show(matches,
              targetname or self.options.to_view or "rtcontrol",
              append=append, disjoin=remove)
          msg = "Filtered %d out of %d torrents using [ %s ]" % (
              len(matches), sourceview.size(), sourceview.matcher)
          self.LOG.info("%s%s rTorrent view %r." % (msg, action_name, targetname))
          config.engine.log(msg)
docs: Show search result in ncurses view.