1. Split message into multiple lines using vim.split() 2. Apply indent to each line of the message using vim.tbl_map() 3. Improve code readability by using vim.iter() and chained methods 4. Simplify button line generation with string.rep() Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>