summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gdamore/tcell/v2/simulation.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-04-01 21:07:21 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-04-06 19:34:32 +1000
commit5f77ac8d6f1b1de0af59ca839f2773f34f441c4d (patch)
treebece49a1f147e1796bf6bac3412bcb6b3d0aacb8 /vendor/github.com/gdamore/tcell/v2/simulation.go
parent5d0cf3d9197b66cfc12c61691a9b242584778d1d (diff)
bump gocui
Diffstat (limited to 'vendor/github.com/gdamore/tcell/v2/simulation.go')
-rw-r--r--vendor/github.com/gdamore/tcell/v2/simulation.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/vendor/github.com/gdamore/tcell/v2/simulation.go b/vendor/github.com/gdamore/tcell/v2/simulation.go
index 211a21f01..7cb720cb5 100644
--- a/vendor/github.com/gdamore/tcell/v2/simulation.go
+++ b/vendor/github.com/gdamore/tcell/v2/simulation.go
@@ -1,4 +1,4 @@
-// Copyright 2020 The TCell Authors
+// Copyright 2021 The TCell Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use file except in compliance with the License.
@@ -314,7 +314,7 @@ func (s *simscreen) draw() {
s.showCursor()
}
-func (s *simscreen) EnableMouse() {
+func (s *simscreen) EnableMouse(...MouseFlags) {
s.mouse = true
}
@@ -520,3 +520,11 @@ func (s *simscreen) HasKey(Key) bool {
func (s *simscreen) Beep() error {
return nil
}
+
+func (s *simscreen) Suspend() error {
+ return nil
+}
+
+func (s *simscreen) Resume() error {
+ return nil
+} \ No newline at end of file