this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

widgets(terminal): implement CSI D

+16
+16
src/widgets/terminal/Terminal.zig
··· 281 281 self.back_screen.width, 282 282 ); 283 283 }, 284 + 'D' => { 285 + self.back_screen.cursor.pending_wrap = false; 286 + var iter = seq.iterator(u16); 287 + const delta = iter.next() orelse 1; 288 + const within = self.back_screen.withinScrollingRegion(); 289 + if (within) 290 + self.back_screen.cursor.col = @max( 291 + self.back_screen.cursor.col -| delta, 292 + self.back_screen.scrolling_region.left, 293 + ) 294 + else 295 + self.back_screen.cursor.col = @max( 296 + self.back_screen.cursor.col -| delta, 297 + 0, 298 + ); 299 + }, 284 300 'H', 'f' => { // CUP 285 301 var iter = seq.iterator(u16); 286 302 const row = iter.next() orelse 1;