mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Merge branch 'indent' of https://github.com/page-down/kitty
This commit is contained in:
commit
0a4ad1fe12
2 changed files with 9 additions and 10 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2768,23 +2768,22 @@ this even works over SSH connections. The default setting of :code:`no`
|
|||
prevents any form of remote control. The meaning of the various values are:
|
||||
|
||||
:code:`password`
|
||||
Remote control requests received over both the TTY device and the socket are
|
||||
confirmed based on passwords, see :opt:`remote_control_password`.
|
||||
Remote control requests received over both the TTY device and the socket are
|
||||
confirmed based on passwords, see :opt:`remote_control_password`.
|
||||
|
||||
:code:`socket-only`
|
||||
Remote control requests received over a socket are accepted unconditionally.
|
||||
Requests received over the TTY are denied. See :opt:`listen_on`.
|
||||
Remote control requests received over a socket are accepted unconditionally.
|
||||
Requests received over the TTY are denied. See :opt:`listen_on`.
|
||||
|
||||
:code:`socket`
|
||||
Remote control requests received over a socket are accepted unconditionally.
|
||||
Requests received over the TTY are confirmed based on password.
|
||||
Remote control requests received over a socket are accepted unconditionally.
|
||||
Requests received over the TTY are confirmed based on password.
|
||||
|
||||
:code:`no`
|
||||
Remote control is completely disabled.
|
||||
Remote control is completely disabled.
|
||||
|
||||
:code:`yes`
|
||||
Remote control requests are always accepted.
|
||||
|
||||
Remote control requests are always accepted.
|
||||
'''
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue