sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 0d6a14bced9838695575c1e112dc3ecbfb299c8c
parent a17638d388636713308d320d5a826c1ef2a0e398
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sat, 10 Oct 2026 18:08:03 +1100

fix ambiguous / warning in new emit_xterm_title method

    lib/sup/buffer.rb:301: warning: ambiguous `/`; wrap regexp in parentheses or add a space after `/` operator

Diffstat:
M lib/sup/buffer.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
@@ -298,7 +298,7 @@ EOS
     ## Screen does not properly handle characters above U+FF in the title.
     ## It truncates them to 8 bits which may cause it to emit control
     ## characters into the terminal title.
-    title = title.gsub /[^\u0000-\u00ff]/, "?" if ENV["TERM"] =~ /screen/
+    title = title.gsub(/[^\u0000-\u00ff]/, "?") if ENV["TERM"] =~ /screen/
     print "\033]0;#{title}\07"
   end