Commit graph

169 commits

Author SHA1 Message Date
Eddie Antonio Santos
af52f72bb9
Remove hardcoded model. 2019-04-15 11:07:13 -06:00
Eddie Antonio Santos
909497870f
Factor out quiting logic into wantsQuit(). 2019-04-12 10:00:42 -06:00
Eddie Antonio Santos
1915a7635f
It sort of works now! 2019-04-12 09:48:28 -06:00
Eddie Antonio Santos
8174700656
Combine setupStdin() with keypressesFromStdin(). 2019-04-12 09:28:04 -06:00
Eddie Antonio Santos
74ca1ecd3b
Clean up keypressOf() function. 2019-04-12 09:25:34 -06:00
Eddie Antonio Santos
6ae6027b2a
Add a basic README. 2019-04-12 09:15:54 -06:00
Eddie Antonio Santos
8f7305c77e
Works as an event stream now! 2019-04-11 16:17:54 -06:00
Eddie Antonio Santos
abe0ba754a
Factor out setupStdin(). 2019-04-11 13:49:21 -06:00
Eddie Antonio Santos
8d4e96d651
Trying to figure out Node's readline module... 2019-04-03 19:48:40 -04:00
Eddie Antonio Santos
2913f6feaf
Check that we're being run from an interactive terminal. 2019-04-03 19:36:12 -04:00
Eddie Antonio Santos
6257fe5c0b
Factor out render suggestions. 2019-04-01 16:01:28 -04:00
Eddie Antonio Santos
17ae94b6f6
Get current suggestion to be inverted. 2019-04-01 15:47:41 -04:00
Eddie Antonio Santos
5d2f60ea16
Get output ANSI codes working. 2019-04-01 15:36:10 -04:00
Eddie Antonio Santos
4b65ed22e8
What I expect the model to look like. 2019-04-01 14:48:14 -04:00
Eddie Antonio Santos
2747c4ab33
Only log messages in debug mode. 2019-04-01 14:46:55 -04:00
Eddie Antonio Santos
dff38ef7a2
Factor out log internal message. 2019-04-01 14:45:19 -04:00
Eddie Antonio Santos
9b90c5e06e
Insert hacky code to make current lexical-model stuff working. 2019-03-28 13:45:36 -06:00
Eddie Antonio Santos
f28a657f41
Things are more work-y... 2019-03-28 10:26:34 -06:00
Eddie Antonio Santos
49478737fa
Move CLI to common/test/predictive-text/ 2019-03-26 16:09:54 -06:00