comparison frontends/src/quick_frontend/quick_app.py @ 524:0bb595eff25b

primitivus: Primitivus is now modal (vi-like behaviour): - there are currently 3 modes: NORMAL, INSERTION and COMMAND - when a chat window is selected, INSERTION mode is set if possible - completion is managed according to mode. Currently only INSERTION mode do something - first command implementation: :quit
author Goffi <goffi@goffi.org>
date Sun, 21 Oct 2012 16:40:19 +0200
parents 8ee9113d307b
children 2c4016921403
comparison
equal deleted inserted replaced
523:24c0d51449e7 524:0bb595eff25b
28 import sat_frontends.quick_frontend.constants 28 import sat_frontends.quick_frontend.constants
29 29
30 import gettext 30 import gettext
31 gettext.install('sat_frontend', "../i18n", unicode=True) 31 gettext.install('sat_frontend', "../i18n", unicode=True)
32 32
33 class QuickApp(): 33 class QuickApp(object):
34 """This class contain the main methods needed for the frontend""" 34 """This class contain the main methods needed for the frontend"""
35 35
36 def __init__(self, single_profile=True): 36 def __init__(self, single_profile=True):
37 self.profiles = {} 37 self.profiles = {}
38 self.single_profile = single_profile 38 self.single_profile = single_profile