From 1e7e10f96f212741532c8da55e9eb92487a562fe Mon Sep 17 00:00:00 2001 From: pagedown Date: Fri, 27 Jan 2023 13:39:27 +0800 Subject: [PATCH] Docs: Fix mixed tab and space indentation in the example code --- docs/graphics-protocol.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/graphics-protocol.rst b/docs/graphics-protocol.rst index 19858ba4e..11373e442 100644 --- a/docs/graphics-protocol.rst +++ b/docs/graphics-protocol.rst @@ -94,7 +94,7 @@ code to demonstrate its use import "golang.org/x/sys/unix" fd, err := unix.Open(fd, unix.O_NOCTTY|unix.O_CLOEXEC|unix.O_NDELAY|unix.O_RDWR, 0666) - sz, err := unix.IoctlGetWinsize(fd, unix.TIOCGWINSZ) + sz, err := unix.IoctlGetWinsize(fd, unix.TIOCGWINSZ) fmt.Println("rows: %v columns: %v width: %v height %v", sz.Row, sz.Col, sz.Xpixel, sz.Ypixel)