this repo has no description
13
fork

Configure Feed

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

widgets(terminal): fix eraseLeft

+4 -5
+1 -1
src/widgets/terminal/Screen.zig
··· 371 371 pub fn eraseLeft(self: *Screen) void { 372 372 self.cursor.pending_wrap = false; 373 373 const start = self.cursor.row * self.width; 374 - const end = start + self.cursor.col; 374 + const end = start + self.cursor.col + 1; 375 375 var i = start; 376 376 while (i < end) : (i += 1) { 377 377 self.buf[i].erase(self.cursor.style.bg);
+3 -4
src/widgets/terminal/Terminal.zig
··· 306 306 self.back_screen.cursorUp(delta); 307 307 self.carriageReturn(); 308 308 }, 309 - // Horizontal Positional Absolute 309 + // Horizontal Position Absolute 310 310 'G', '`' => { 311 311 var iter = seq.iterator(u16); 312 312 const col = iter.next() orelse 1; ··· 401 401 self.back_screen.cursor.row = self.back_screen.scrolling_region.top; 402 402 try self.back_screen.insertLine(n); 403 403 }, 404 - 'W' => {}, // TODO: Tab control 404 + // 'W' => {}, // TODO: Tab control 405 405 'X' => { 406 406 self.back_screen.cursor.pending_wrap = false; 407 407 var iter = seq.iterator(u16); ··· 416 416 self.back_screen.buf[i].erase(self.back_screen.cursor.style.bg); 417 417 } 418 418 }, 419 - 'Z' => {}, // TODO: Back tab 420 - // 419 + // 'Z' => {}, // TODO: Back tab 421 420 // Cursor Vertial Position Aboslute 422 421 'd' => { 423 422 var iter = seq.iterator(u16);