From 17568d979e5fc3f1207ca81a13e10cdfa5101981 Mon Sep 17 00:00:00 2001 From: "hui.wang" Date: Thu, 27 Jan 2022 22:22:42 +0800 Subject: [PATCH] fix: bug under win --- xutil/term_size_windows.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xutil/term_size_windows.go b/xutil/term_size_windows.go index 3ff17fe..650d009 100644 --- a/xutil/term_size_windows.go +++ b/xutil/term_size_windows.go @@ -3,7 +3,9 @@ package xutil -import errors +import ( + "errors" +) // TermSize get terminal size func TermSize() (int, int, error) {