| Home | Trees | Index | Help |
|
|---|
| Package lyntin :: Module history :: Class HistoryManager |
|
Manager --+
|
HistoryManager
Manages user data history.
This manages the user input history by storing the commands the user entered. This module also handles manipulating that history letting the user to recall and edit those commands to fix mistakes they may have typed.| Method Summary | |
|---|---|
__init__(self,
e)
| |
| list of strings |
Returns everything in the history buffer as a list of strings |
This retrieves the item (if it exists) and performs the substitutions (if we need to). | |
Records an item in the history (which is a queue). | |
| Inherited from Manager | |
Tells the manager to create a new session based on another session. | |
Removes everything the manager was managing--essentially reinitializes it. | |
| string |
Returns information managed by this class. |
| list of mappings |
Returns a list of maps of parameter name -> value that represents all the info this manager is managing for this session. |
| list of strings |
Returns a list of the items that this manager manages. |
| list of tuples |
Returns a list of tuples of the parameters we're storing in this manager and the description of each parameter. |
| string |
Returns a one-liner status of the state of this manager for a given session. |
Tells the manager to remove information regarding the session. | |
| Method Details |
|---|
getHistory(self, count)Returns everything in the history buffer as a list of strings
|
getHistoryItem(self, userinput)This retrieves the item (if it exists) and performs the substitutions (if we need to).
|
recordHistory(self, input)Records an item in the history (which is a queue).
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Aug 9 09:17:41 2004 | http://epydoc.sf.net |