summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gdamore/tcell/v2/simulation.go
diff options
context:
space:
mode:
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