mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
panic on unimplemented
This commit is contained in:
@ -439,7 +439,8 @@ pub fn linefeed(self: *Terminal, alloc: Allocator) void {
|
||||
/// Moves the cursor to the left margin.
|
||||
pub fn insertLines(self: *Terminal, alloc: Allocator, count: usize) !void {
|
||||
// TODO: scroll region bounds
|
||||
// TODO: test
|
||||
if (self.scrolling_region.bottom != self.rows - 1 or
|
||||
self.scrolling_region.top != 0) @panic("unimplemented");
|
||||
|
||||
// Move the cursor to the left margin
|
||||
self.cursor.x = 0;
|
||||
|
Reference in New Issue
Block a user