このコミットが含まれているのは:
ninya9k 2023-11-15 14:53:31 +00:00
コミット b40eb333ff
1個のファイルの変更4行の追加0行の削除

4
uttt.c
ファイルの表示

@ -458,6 +458,10 @@ int ut_sockgetpos(const struct ut_state *state, int sock, int *y, int *x, bool r
char byte;
while (true) {
if (ut_readfill(sock, &byte, 1)) {return 1;}
// allow \r\n
if (index == 3 && byte == '\r') {
if (ut_readfill(sock, &byte, 1)) {return 1;}
}
if (index == 0 && byte == '|') {
if (ut_ignore_line(sock)) {return -1;}
} else if (index == 0) {