diff options
author | delthas <delthas@dille.cc> | 2022-07-25 10:56:57 +0200 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2022-07-25 10:56:57 +0200 |
commit | f52114de33d3b51f298a3a7d1f6b59b3853d112c (patch) | |
tree | 8ef4b50bdd0b66d0a636e97a71f57757667aeb6a /app.go | |
parent | Fix crashing when shrinking the text to a zero width (diff) |
Add pane-widths { text } to limit the max line width
Fixes: https://todo.sr.ht/~taiite/senpai/87
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -127,6 +127,7 @@ func NewApp(cfg Config) (app *App, err error) { ChanColEnabled: cfg.ChanColEnabled, MemberColWidth: cfg.MemberColWidth, MemberColEnabled: cfg.MemberColEnabled, + TextMaxWidth: cfg.TextMaxWidth, AutoComplete: func(cursorIdx int, text []rune) []ui.Completion { return app.completions(cursorIdx, text) }, |