this repo has no description
3
fork

Configure Feed

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

deps: update vaxis for more input controls

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>

+3 -3
+2 -2
build.zig.zon
··· 7 7 .hash = "1220affeb3fe37ef09411b5a213b5fdf9bb6568e9913bade204694648983a8b2776d", 8 8 }, 9 9 .vaxis = .{ 10 - .url = "git+https://github.com/rockorager/libvaxis?ref=main#d36ab043caf7cbb24cae1bd0346dd6b654df0653", 11 - .hash = "12206c252ee00b9dd0214989dfa35a6eea29ac7d65d4053817f161f4c23b6e09dd89", 10 + .url = "git+https://github.com/rockorager/libvaxis?ref=main#707c050a76aaad6ce37314a4b15b77a34a9e2293", 11 + .hash = "1220f3260273dd957a4ffb8b453e5b5a2204311ed06b2384e492d01ac06e751ae56b", 12 12 }, 13 13 .zeit = .{ 14 14 .url = "git+https://github.com/rockorager/zeit?ref=main#9cca8ec620a54c3b07cd249f25e5bcb3153d03d7",
+1 -1
src/app.zig
··· 255 255 try input.insertSliceAtCursor(line); 256 256 } 257 257 } else if (key.matches(vaxis.Key.enter, .{})) { 258 - if (input.buf.realLength() == 0) continue; 259 258 const buffer = self.selectedBuffer() orelse @panic("no buffer"); 260 259 const content = try input.toOwnedSlice(); 260 + if (content.len == 0) continue; 261 261 defer self.alloc.free(content); 262 262 if (content[0] == '/') 263 263 self.handleCommand(lua_state, buffer, content) catch |err| {