fix: constrain chat width when sidebar is visible, Ctrl+B sets all dirty
- Added chat-w = w - sidebar-width in view-chat for all width calculations (word-wrap, padding, borders) so text doesn't bleed into the sidebar area - Changed Ctrl+B dirty flags from (list t t nil) to (list t t t) so input view also redraws, fixing the toggle-not-turning-off issue
This commit is contained in:
@@ -955,8 +955,8 @@ Event handlers + daemon I/O + main loop.
|
||||
(case ch
|
||||
(:CTRL-Q (setf (st :running) nil))
|
||||
(:CTRL-P (command-palette-show-commands))
|
||||
(:CTRL-B (setf (st :sidebar-visible) (not (st :sidebar-visible)))
|
||||
(setf (st :dirty) (list t t nil)))
|
||||
(:CTRL-B (setf (st :sidebar-visible) (not (st :sidebar-visible)))
|
||||
(setf (st :dirty) (list t t t)))
|
||||
(:CTRL-L (setf (st :dirty) (list t t t)))
|
||||
(t (if (st :dialog-stack)
|
||||
(let* ((dlg (car (st :dialog-stack)))
|
||||
|
||||
Reference in New Issue
Block a user