Skip to main content

protocol

Function protocol 

Source
pub fn protocol() -> Option<Protocol>
Expand description

The protocol this terminal supports, if any.

Reads the environment rather than querying the terminal: a capability query means putting the tty into raw mode and waiting for a reply that may never come, on a tool whose whole argument is that it starts instantly.