blob: 4a7b493ff55a9262a247532c5c66c6746bbf9657 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
//go:build !linux && !ts_omit_qrcodes
package qrcodes
import "io"
func detectFormat(w io.Writer, inverse bool) (Format, error) {
// Assume all terminals can support the full set of UTF-8 block
// characters: (█, ▀, ▄). See tailscale/tailscale#12935.
return FormatSmall, nil
}
|