Table of Contents

Class: More mudlib/viewer.py

A more-like viewer that pages text.

To use, invoke the more method, passing it the player and the text to view. This class will take care of pushing itself as an input processor and popping itself when appropriate.

It can handle more'ing raw text as well as text that we want ansified and wrapped and such through the raw flag which defaults to yes.

Base Classes   
MudObject
Methods   
more
  more 
more (
        self,
        player,
        text,
        raw=1,
        )

Initializes a more object.

arguments:

player
(mudlib.living.Interactive) the interactive
text
(string) the complete text to view
raw=1
(int) whether or not to send the text raw. this affects sending code files and such which need to have color formatting tags quelled.

Table of Contents

This document was automatically generated on Thu Jan 24 08:57:43 2002 by HappyDoc version 2.0