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>
4.0 KiB
4.0 KiB