diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 10:20:02 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 843b8ceab0fa3888357f0e86026bebb6f4f1c305 (patch) | |
tree | 6c8b3b5be5948c62be6c3ee8144ac7c92e85cde1 /pkg/gui/recording.go | |
parent | 011451464fea4992b2dd8a09008b3e0ce45ba775 (diff) |
support tcell simulation screen
Diffstat (limited to 'pkg/gui/recording.go')
-rw-r--r-- | pkg/gui/recording.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/recording.go b/pkg/gui/recording.go index 4b26f73c4..51235b96b 100644 --- a/pkg/gui/recording.go +++ b/pkg/gui/recording.go @@ -22,6 +22,10 @@ func replaying() bool { return os.Getenv("REPLAY_EVENTS_FROM") != "" } +func headless() bool { + return os.Getenv("HEADLESS") != "" +} + func getRecordingSpeed() int { // humans are slow so this speeds things up. speed := 1 |