Commit 7bbfc5c8 authored by Eric's avatar Eric

[bugfix] pause and resume WinSize

parent a4cc8613
...@@ -443,8 +443,10 @@ func (h *interactiveHandler) ProxyDB(dbSelect model.Database) { ...@@ -443,8 +443,10 @@ func (h *interactiveHandler) ProxyDB(dbSelect model.Database) {
Database: &dbSelect, Database: &dbSelect,
SystemUser: &systemUserSelect, SystemUser: &systemUserSelect,
} }
h.pauseWatchWinSize()
p.Proxy() p.Proxy()
logger.Infof("Request %s: database %s proxy end", h.sess.Uuid, dbSelect.Name) logger.Infof("Request %s: database %s proxy end", h.sess.Uuid, dbSelect.Name)
h.resumeWatchWinSize()
} }
func (h *interactiveHandler) chooseDBSystemUser(dbAsset model.Database, func (h *interactiveHandler) chooseDBSystemUser(dbAsset model.Database,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment