From: William Morgan Date: Wed, 9 Jan 2008 18:02:53 +0000 (-0800) Subject: add 'screen' to the list of possible TERM values that allow title setting X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=5e7dae5ccc291e8d42b53ad3b6597f199fca2495;p=sup add 'screen' to the list of possible TERM values that allow title setting --- diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb index 782695b..f724f88 100644 --- a/lib/sup/buffer.rb +++ b/lib/sup/buffer.rb @@ -63,7 +63,7 @@ class Buffer @title = opts[:title] || "" @force_to_top = opts[:force_to_top] || false @x, @y, @width, @height = 0, 0, width, height - @in_x = ENV["TERM"] =~ /(xterm|rxvt)/ + @in_x = ENV["TERM"] =~ /(xterm|rxvt|screen)/ end def content_height; @height - 1; end