mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-01 00:56:05 +00:00
* separate terminal IO to separate thread via queues * terminal input arithmetics (WIP) * editable multiline terminal input * print messages above input area * support Up/Down arrows * terminal chat: move by word, move to the beginning/end of input * insert active contact when typing starts * refactor inserting active contact * highlight "to contact" * add username to prompt * change beginning/end of line keys to shoft-arrow * remove unused code * add ctrl arrow key bindings * add comment for debugging keys in terminal Co-authored-by: Efim Poberezkin <efim.poberezkin@gmail.com>
6 lines
110 B
Haskell
6 lines
110 B
Haskell
module Types where
|
|
|
|
import Data.ByteString.Char8 (ByteString)
|
|
|
|
newtype Contact = Contact {toBs :: ByteString}
|