Files
avante.nvim/lua/avante
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
..
2025-03-17 01:40:05 +08:00
2025-03-17 01:40:05 +08:00
2025-03-17 01:40:05 +08:00
2025-03-17 01:40:05 +08:00
2025-03-17 01:40:05 +08:00
2025-03-17 01:40:05 +08:00
2025-03-07 00:30:30 +08:00
2024-11-23 21:49:33 +08:00