Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions eca-chat.el
Original file line number Diff line number Diff line change
Expand Up @@ -2005,6 +2005,13 @@ CHILD, NAME, DOCSTRING and BODY are passed down."
;; visual-line-mode wraps all lines including tables, breaking their layout.
(setq-local word-wrap t)
(setq-local truncate-lines nil)
;; Prevent `balance-windows' from resizing the chat window.
;; Left/right windows have their width fixed; top/bottom their height.
(when eca-chat-use-side-window
(setq-local window-size-fixed
(if (memq eca-chat-window-side '(left right))
'width
'height)))
(hl-line-mode -1)
(setq-local eca-chat--history '())
(setq-local eca-chat--history-index -1)
Expand Down
Loading