From 1b8ebf55a5df3dbb59e021f3b399720d7f02ab2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Tue, 28 Feb 2023 20:49:54 +0800 Subject: [PATCH] make lint happy --- global/terminal/quick_edit_windows.go | 6 +++++- global/terminal/vt100_windows.go | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/global/terminal/quick_edit_windows.go b/global/terminal/quick_edit_windows.go index 1186b48..3ac9aef 100644 --- a/global/terminal/quick_edit_windows.go +++ b/global/terminal/quick_edit_windows.go @@ -1,6 +1,10 @@ package terminal -import "golang.org/x/sys/windows" +import ( + "os" + + "golang.org/x/sys/windows" +) // DisableQuickEdit 禁用快速编辑 func DisableQuickEdit() error { diff --git a/global/terminal/vt100_windows.go b/global/terminal/vt100_windows.go index b879ae1..0105435 100644 --- a/global/terminal/vt100_windows.go +++ b/global/terminal/vt100_windows.go @@ -1,6 +1,10 @@ package terminal -import "golang.org/x/sys/windows" +import ( + "os" + + "golang.org/x/sys/windows" +) // EnableVT100 启用颜色、控制字符 func EnableVT100() error {