fix for test.sh

This commit is contained in:
Stewart Connor 2025-03-31 17:03:51 +11:00
parent 53763c157b
commit e828131c92
15 changed files with 136 additions and 109 deletions

View file

@ -36,7 +36,7 @@ fn main() {
let text = std::env::args()
.nth(1)
.unwrap_or(" Hi, Rust! 🦀 ".to_string());
buffer.set_text(&text, attrs, Shaping::Advanced);
buffer.set_text(&text, &attrs, Shaping::Advanced);
// Perform shaping as desired
buffer.shape_until_scroll(true);