refactor: port to writergate
This commit is contained in:
parent
dfd3c5d66e
commit
e558502ea2
5 changed files with 70 additions and 44 deletions
|
@ -10,7 +10,7 @@ const checkmark_width = if (builtin.os.tag != .windows) 2 else 3;
|
|||
const success_mark = if (builtin.os.tag != .windows) "✓ " else "[y]";
|
||||
const fail_mark = if (builtin.os.tag != .windows) "✘ " else "[n]";
|
||||
|
||||
pub fn list(allocator: std.mem.Allocator, writer: anytype, tty_config: std.io.tty.Config) !void {
|
||||
pub fn list(allocator: std.mem.Allocator, writer: *std.io.Writer, tty_config: std.io.tty.Config) !void {
|
||||
var max_language_len: usize = 0;
|
||||
var max_langserver_len: usize = 0;
|
||||
var max_formatter_len: usize = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue