Skip to main content

Module keys

Module keys 

Source
Expand description

The named keys an agent may press, and the bytes each one sends.

A key is bytes, not a command. The shell and every program in it see an ordinary terminal; Enter is its own key, Ctrl-C is 0x03, and the arrows are the sequences an xterm-256color terminal sends. Nothing here names an agent.

Re-exportsยง

use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’

Enumsยง

Key
One named key, pressed in order with the text a call carries.