mirror of
https://github.com/tmux/tmux.git
synced 2026-10-14 15:04:50 +00:00
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master: Add format variables for the cmdline property to OSC 133, GitHub issue 5711.
This commit is contained in:
4
utf8.c
4
utf8.c
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: utf8.c,v 1.74 2026/10/05 08:32:24 nicm Exp $ */
|
||||
/* $OpenBSD: utf8.c,v 1.75 2026/10/13 10:21:58 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||
@@ -835,7 +835,7 @@ utf8_isvalid(const char *s)
|
||||
continue;
|
||||
return (0);
|
||||
}
|
||||
if (*s < 0x20 || *s > 0x7e)
|
||||
if (*s != '\t' && *s != '\n' && (*s < 0x20 || *s > 0x7e))
|
||||
return (0);
|
||||
s++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user