User Tools

Site Tools


input_handling

Purpose:

I get many requests for utf8 support. As of the time I write this, epic does not support utf8, and support for it is not planned in the short term. This document describes how epic handles your keypresses, and discusses how utf8 support might grow in the future. This document is not intended to be excruciatingly exacting enough to satisfy pedants, but rather to gently introduce people to the issues and why console programs have a much harder time of it than graphical program.s

How epic handles user input

The flow chart

1) You press a key 2) Your terminal emulator converts it to a string 3) That string is sent to epic 4) EPIC decomposes the string into individual characters 5) Sequences of characters are accumulated to match your bindings. 6) The actions associated with your bindings are executed.

Your terminal emulator and epic must agree

input_handling.txt · Last modified: 2007/04/25 05:56 (external edit)