Merge branch 'docs-kbd' of https://github.com/page-down/kitty
This commit is contained in:
commit
2770a853f6
@ -23,14 +23,14 @@ before any actual data is transmitted, unless a :ref:`pre-shared password is
|
||||
provided <bypass_auth>`.
|
||||
|
||||
There can be either send or receive sessions. In send sessions files are sent
|
||||
from from remote client to the terminal emulator and vice versa for receive
|
||||
sessions. Every session basically consists of sending metadata for the files
|
||||
first and then sending the actual data. The session is a series of commands,
|
||||
every command carrying the session id (which should be a random unique-ish
|
||||
identifier, to avoid conflicts). The session is bi-directional with commands
|
||||
going both to and from the terminal emulator. Every command in a session
|
||||
also carries an ``action`` field that specifies what the command does. The
|
||||
remaining fields in the command are dependent on the nature of the command.
|
||||
from remote client to the terminal emulator and vice versa for receive sessions.
|
||||
Every session basically consists of sending metadata for the files first and
|
||||
then sending the actual data. The session is a series of commands, every command
|
||||
carrying the session id (which should be a random unique-ish identifier, to
|
||||
avoid conflicts). The session is bi-directional with commands going both to and
|
||||
from the terminal emulator. Every command in a session also carries an
|
||||
``action`` field that specifies what the command does. The remaining fields in
|
||||
the command are dependent on the nature of the command.
|
||||
|
||||
Let's look at some simple examples of sessions to get a feel for the protocol.
|
||||
|
||||
|
||||
@ -67,7 +67,7 @@ modifiers pressed for the key event. The encoding is described in the
|
||||
:ref:`modifiers` section.
|
||||
|
||||
The second form is used for a few functional keys, such as the :kbd:`Home`,
|
||||
:kbd:`End`, :kbd:`Arrow` keys and :kbd:`F1`...:kbd:`F4`, they are enumerated in
|
||||
:kbd:`End`, :kbd:`Arrow` keys and :kbd:`F1` ... :kbd:`F4`, they are enumerated in
|
||||
the :ref:`functional` table below. Note that if no modifiers are present the
|
||||
parameters are omitted entirely giving an escape code of the form ``CSI
|
||||
[ABCDEFHPQRS]``.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user