diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-03-17 14:00:02 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-03-17 14:00:02 +0200 |
commit | dacc7fd6a310d3945bc61983ec218d083900a98d (patch) | |
tree | 3677189b8cb853113f1bec026189d9f0937df31c /gomuks.go | |
parent | 4196931e1bef5c4e6cdea2e8921703be286b717a (diff) |
Fix wide characters in input field and prepare for tab completion
Diffstat (limited to 'gomuks.go')
-rw-r--r-- | gomuks.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -45,12 +45,15 @@ type gomuks struct { config *Config } +var gdebug DebugPrinter + func NewGomuks(debug bool) *gomuks { configDir := filepath.Join(os.Getenv("HOME"), ".config/gomuks") gmx := &gomuks{ app: tview.NewApplication(), } gmx.debug = NewDebugPane(gmx) + gdebug = gmx.debug gmx.config = NewConfig(gmx, configDir) gmx.ui = NewGomuksUI(gmx) gmx.matrix = NewMatrixContainer(gmx) |