2
# -*- coding: UTF-8 -*-
4
__license__ = "GPL V.2 or (at your option) any later version"
5
__copyright__ = "2007, Israel Fernández Cabrera"
7
from addinbase import AddinBase
8
from terminal import TerminalWidget
10
class CommandTerminal(AddinBase, TerminalWidget):
11
"""CommandTerminal(orientation)
12
where: orientation is one of "Vertical"/"Horizontal"
14
Simple shell for a standard local command line terminal. Inherits its capabilities
15
as a terminal from yape.terminal.TerminalWidget
17
def __init__(self, orientation):
18
super(CommandTerminal, self).__init__()
21
def createNewInstance(cls, orientation):
22
return CommandTerminal(orientation)
26
return "Command Shell"
29
return CommandTerminal