Logo
Explore Help
Sign In
IntenseFinance/simplex-chat
3
0
Fork 0
You've already forked simplex-chat
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
a3e987b78a91bf24e7cd0d5af7594647a829cd1e
simplex-chat/Types.hs

8 lines
189 B
Haskell
Raw Normal View History

terminal UI (#44) * 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>
2021-02-20 22:26:27 +00:00
module Types where
import Data.ByteString.Char8 (ByteString)
newtype Contact = Contact {toBs :: ByteString}
Windows terminal editing (#71) * windows-compatible getChar without buffering, option to use terminal without editing * option to choose terminal mode, conditional compilation for Windows * conditional extension * add basic terminal mode (no contact insertion) * option help
2021-03-09 07:05:08 +00:00
data TermMode = TermModeBasic | TermModeSimple | TermModeEditor deriving (Eq)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API