Fix a couple of mouse mode flag names.
authornicm <nicm@openbsd.org>
Tue, 19 Sep 2023 08:35:44 +0000 (08:35 +0000)
committernicm <nicm@openbsd.org>
Tue, 19 Sep 2023 08:35:44 +0000 (08:35 +0000)
usr.bin/tmux/screen.c

index 4835895..a943d20 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen.c,v 1.82 2023/06/26 08:14:19 nicm Exp $ */
+/* $OpenBSD: screen.c,v 1.83 2023/09/19 08:35:44 nicm Exp $ */
 
 /*
  * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -700,9 +700,9 @@ screen_mode_to_string(int mode)
        if (mode & MODE_CURSOR_VERY_VISIBLE)
                strlcat(tmp, "CURSOR_VERY_VISIBLE,", sizeof tmp);
        if (mode & MODE_MOUSE_UTF8)
-               strlcat(tmp, "UTF8,", sizeof tmp);
+               strlcat(tmp, "MOUSE_UTF8,", sizeof tmp);
        if (mode & MODE_MOUSE_SGR)
-               strlcat(tmp, "SGR,", sizeof tmp);
+               strlcat(tmp, "MOUSE_SGR,", sizeof tmp);
        if (mode & MODE_BRACKETPASTE)
                strlcat(tmp, "BRACKETPASTE,", sizeof tmp);
        if (mode & MODE_FOCUSON)