Changes between Version 17 and Version 18 of Plugin


Ignore:
Timestamp:
08/20/16 01:17:57 (4 years ago)
Author:
omatt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Plugin

    v17 v18  
    186186               return  self.list_completion(text,['Alwall', 'Hirschi'])
    187187
    188 
    189 
     188    #command to change the prompt
     189    def preloop(self, *args, **opts):
     190        """only change the prompt after calling  the mother preloop command"
     191        super(NewInterface, self).preloop(*args,**opts)
     192        self.prompt = 'Hello? >'
    190193       
    191 
    192 
    193 
    194194}}}
    195195