refactor: zig fmt all source files
This commit is contained in:
parent
f0343bf2c9
commit
118b2b56f8
4 changed files with 2 additions and 4 deletions
|
@ -160,7 +160,7 @@ fn mapRelease(self: *Self, keypress: u32, _: u32, _: u32) !void {
|
|||
fn insert_code_point(self: *Self, c: u32) !void {
|
||||
var buf: [16]u8 = undefined;
|
||||
const bytes = ucs32_to_utf8(&[_]u32{c}, &buf) catch |e| return tp.exit_error(e, @errorReturnTrace());
|
||||
try self.input.appendSlice(buf[0 .. bytes]);
|
||||
try self.input.appendSlice(buf[0..bytes]);
|
||||
}
|
||||
|
||||
fn insert_bytes(self: *Self, bytes: []const u8) !void {
|
||||
|
|
|
@ -2,7 +2,6 @@ const std = @import("std");
|
|||
const tp = @import("thespian");
|
||||
const root = @import("root");
|
||||
|
||||
|
||||
const tui = @import("../../tui.zig");
|
||||
const mainview = @import("../../mainview.zig");
|
||||
const command = @import("../../command.zig");
|
||||
|
|
|
@ -2,7 +2,6 @@ const std = @import("std");
|
|||
const tp = @import("thespian");
|
||||
const root = @import("root");
|
||||
|
||||
|
||||
const tui = @import("../../tui.zig");
|
||||
const mainview = @import("../../mainview.zig");
|
||||
const command = @import("../../command.zig");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue