From 53b2ba93fabd453debc911bd5c2c1eebf0c66802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=B0=8F=E5=86=9B?= Date: Fri, 21 Feb 2020 21:15:30 +0800 Subject: [PATCH] fix clipboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复剪切板 --- config.yml | 2 +- data/dlg/cui.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yml b/config.yml index 7a4aa1d..b31d1fb 100644 --- a/config.yml +++ b/config.yml @@ -16,5 +16,5 @@ mysql_info: port : 3306 username : root password : qwer - database : apiserver_db + database : oauth_db diff --git a/data/dlg/cui.go b/data/dlg/cui.go index d64e31d..dd7c695 100644 --- a/data/dlg/cui.go +++ b/data/dlg/cui.go @@ -348,7 +348,7 @@ func showStruct(g *gocui.Gui, v *gocui.View) error { addlog(g, v) } - copyInfo = strings.Join(out1, "") + copyInfo = strings.Join(out1, "\n") return nil }