module Fancyline::Key

Overview

Host for ASCII key sequence code, which does its best to figure out what the user just typed.

Defined in:

fancyline/key.cr

Class Method Summary

Class Method Detail

def self.read_control(char : Char, &) : Control | Nil #

Reads a Control input from char. If an escape sequence was detected, calls the given block for the next Char?.


[View source]