Fixed PR Corrections
This commit is contained in:
parent
d117a5f5fa
commit
6e97c8d21d
3 changed files with 3 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
pub const Screen = @import("Screen.zig");
|
const Screen = @import("Screen.zig");
|
||||||
const Cell = @import("Cell.zig");
|
const Cell = @import("Cell.zig");
|
||||||
const Mouse = @import("Mouse.zig");
|
const Mouse = @import("Mouse.zig");
|
||||||
const Segment = @import("Cell.zig").Segment;
|
const Segment = @import("Cell.zig").Segment;
|
||||||
|
@ -9,7 +9,7 @@ const gw = @import("gwidth.zig");
|
||||||
|
|
||||||
const log = std.log.scoped(.window);
|
const log = std.log.scoped(.window);
|
||||||
|
|
||||||
pub const Window = @This();
|
const Window = @This();
|
||||||
|
|
||||||
pub const Size = union(enum) {
|
pub const Size = union(enum) {
|
||||||
expand,
|
expand,
|
||||||
|
|
|
@ -28,9 +28,6 @@ const zigimg = @import("zigimg");
|
||||||
pub fn init(comptime Event: type, opts: Options) !Vaxis(Event) {
|
pub fn init(comptime Event: type, opts: Options) !Vaxis(Event) {
|
||||||
return Vaxis(Event).init(opts);
|
return Vaxis(Event).init(opts);
|
||||||
}
|
}
|
||||||
test {
|
|
||||||
std.testing.refAllDecls(@This());
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Vaxis is the entrypoint for a Vaxis application. The provided type T should
|
/// Vaxis is the entrypoint for a Vaxis application. The provided type T should
|
||||||
/// be a tagged union which contains all of the events the application will
|
/// be a tagged union which contains all of the events the application will
|
||||||
|
|
|
@ -4,7 +4,7 @@ const heap = std.heap;
|
||||||
const mem = std.mem;
|
const mem = std.mem;
|
||||||
const meta = std.meta;
|
const meta = std.meta;
|
||||||
|
|
||||||
const vaxis = @import("../vaxis.zig");
|
const vaxis = @import("../main.zig");
|
||||||
|
|
||||||
/// Table Context for maintaining state and drawing Tables with `drawTable()`.
|
/// Table Context for maintaining state and drawing Tables with `drawTable()`.
|
||||||
pub const TableContext = struct{
|
pub const TableContext = struct{
|
||||||
|
|
Loading…
Reference in a new issue