Files
avante.nvim/lua
Hanchin Hsieh bf61e3c7e3 fix: correct button rendering for multi-line messages in confirmation dialog
This commit fixes an issue where buttons in the confirmation dialog

would not render properly when displaying multi-line messages.

Changes:

- Add dynamic positioning for buttons based on message length

- Calculate button row position based on the number of lines in the message

- Update focus_button function to accept custom row parameter

- Ensure highlights are applied at correct positions for varied message lengths

Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2025-03-17 16:47:35 +08:00
..