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
This commit is contained in:
Evgeny Poberezkin
2021-03-09 07:05:08 +00:00
committed by GitHub
parent 97e80cfb07
commit a3e987b78a
4 changed files with 78 additions and 32 deletions
+2
View File
@@ -3,3 +3,5 @@ module Types where
import Data.ByteString.Char8 (ByteString)
newtype Contact = Contact {toBs :: ByteString}
data TermMode = TermModeBasic | TermModeSimple | TermModeEditor deriving (Eq)