mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 19:45:49 +00:00
terminal: Screen testWriteString should set prompt_continuation for soft
This commit is contained in:
@@ -3095,6 +3095,10 @@ pub fn testWriteString(self: *Screen, text: []const u8) !void {
|
||||
try self.cursorDownOrScroll();
|
||||
self.cursorHorizontalAbsolute(0);
|
||||
self.cursor.page_row.wrap_continuation = true;
|
||||
switch (self.cursor.semantic_content) {
|
||||
.input, .output => {},
|
||||
.prompt => self.cursor.page_row.semantic_prompt2 = .prompt_continuation,
|
||||
}
|
||||
}
|
||||
|
||||
assert(width == 1 or width == 2);
|
||||
|
||||
Reference in New Issue
Block a user