summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-06-18 21:55:40 +0900
committeraycabta <aycabta@gmail.com>2019-06-18 21:58:05 +0900
commit32e65e9e5adbfb8b3d67e0ec0865a3f90d2e82dd (patch)
treed9b6b9a37371ccadf6375a3c814d5d9dcc0a6cc7 /lib
parentaf800b8ca25fc453da4e73b9e4628299605b5289 (diff)
Print starting debug message with RELINE_STDERR_TTY
Diffstat (limited to 'lib')
-rw-r--r--lib/reline.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reline.rb b/lib/reline.rb
index 191d8bb158..c27e4a380d 100644
--- a/lib/reline.rb
+++ b/lib/reline.rb
@@ -322,6 +322,7 @@ module Reline
if ENV['RELINE_STDERR_TTY']
$stderr.reopen(ENV['RELINE_STDERR_TTY'], 'w')
$stderr.sync = true
+ $stderr.puts "Reline is used by #{Process.pid}"
end
otio = Reline::IOGate.prep