this repo has no description
13
fork

Configure Feed

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

screen: use empty slice instead of undefined

Use an empty slice instead of undefined for the screen's default buffer.
This prevents segfaults if an app is deinitialized prior to receiving a
winsize event.

+1 -1
+1 -1
src/Screen.zig
··· 16 16 width_pix: u16 = 0, 17 17 height_pix: u16 = 0, 18 18 19 - buf: []Cell = undefined, 19 + buf: []Cell = &.{}, 20 20 21 21 cursor_row: u16 = 0, 22 22 cursor_col: u16 = 0,