Christian Rocha
|
b6eeef2127
|
Pager example
|
2020-05-11 23:07:45 -04:00 |
Christian Rocha
|
5ae602953c
|
Fix bug where extra blank line was being adding to output
|
2020-05-11 23:07:00 -04:00 |
Christian Rocha
|
72c1a1c0ef
|
Treat space key as a control character (instead of a " ")
|
2020-05-11 19:56:46 -04:00 |
Christian Rocha
|
88e4df4055
|
Update spinner example so it works with the spinner version in master
|
2020-05-11 17:38:05 -04:00 |
Christian Rocha
|
2a82e2a75e
|
Add Tick to run timers independent of the system clock
|
2020-05-11 13:01:42 -04:00 |
Christian Rocha
|
7b887b0a05
|
Update example in README to use tea.Every
|
2020-05-11 12:54:44 -04:00 |
Christian Rocha
|
d503d5dbf6
|
Every sends the time at which the timer ticked
|
2020-05-05 14:26:06 -04:00 |
Christian Rocha
|
ac67237eab
|
Add 'Every' subscription for ticking with the system clock
|
2020-05-05 13:38:46 -04:00 |
Christian Rocha
|
b50ee76165
|
Subs shouldn't take a model as an argument
This also nullifies the need for SubMap
|
2020-05-04 18:52:44 -04:00 |
Christian Rocha
|
dada718393
|
Fix and improve spinner example
|
2020-05-04 18:33:17 -04:00 |
Christian Rocha
|
39ec5b5233
|
Bump termenv with fix for redraws on mosh, konsole
|
2020-04-30 19:29:59 -04:00 |
Christian Rocha
|
f57e384548
|
Remove SSH stuff
|
2020-04-27 11:51:02 -04:00 |
Christian Rocha
|
8471cb03c1
|
Add Reflow and Tea Party to resources in README
|
2020-04-27 11:46:44 -04:00 |
Christian Rocha
|
6c8ee9f7dc
|
Remove authors
|
2020-04-27 11:43:11 -04:00 |
Christian Rocha
|
f93b752fcc
|
Remove ErrMsg and ModelAssertionErr
|
2020-04-22 11:00:30 -04:00 |
Christian Rocha
|
aa6d766e42
|
Catch errors when reading keyboard input
|
2020-04-22 10:39:43 -04:00 |
Christian Rocha
|
50b16d2df1
|
Model doesn't need to be a member of the Program struct
This also fixes a race condition
|
2020-04-22 10:31:43 -04:00 |
Christian Rocha
|
4351c9f903
|
Cmds no longer takes a Model as an argument, CmdMap no longer needed
|
2020-04-22 10:15:04 -04:00 |
Christian Rocha
|
5612c85b72
|
Bump termenv for examples
|
2020-04-22 10:11:31 -04:00 |
Christian Rocha
|
01b14bacca
|
Ignore .envrc
|
2020-04-22 09:53:18 -04:00 |
Christian Rocha
|
4f2c60372d
|
Improve some comments
|
2020-04-20 14:08:27 -04:00 |
Christian Muehlhaeuser
|
bf92cd6cce
|
Add missing error handling
|
2020-04-17 20:35:54 +02:00 |
Christian Rocha
|
27416e9976
|
Add nil checks to CmdMap and SubMap functors
|
2020-04-10 15:43:32 -04:00 |
Christian Rocha
|
4a41a61919
|
Short-ciruit the message loop when processing batched commands
|
2020-04-03 18:31:40 -04:00 |
Christian Rocha
|
cd63ed1e44
|
Stop old subscription when it becomes reassigned as nil
|
2020-04-02 12:10:10 -04:00 |
Christian Rocha
|
2e509ad32c
|
Don't do command batching if the batch is 0 items long
|
2020-04-01 12:05:05 -04:00 |
Christian Rocha
|
1bf93b1ccf
|
Provisionally add `CmdMap` and `SubMap` functions
|
2020-03-31 16:28:16 -04:00 |
Christian Rocha
|
6e769686f1
|
Add support for command batching
|
2020-03-31 16:08:03 -04:00 |
Christian Rocha
|
58a047c2ac
|
Bump termenv to v0.5.0
|
2020-03-31 11:18:42 -04:00 |
Christian Rocha
|
87ff36e345
|
Bump termenv dependency
|
2020-03-27 12:14:23 -04:00 |
Christian Rocha
|
23432f30dd
|
Add TODO + comment
|
2020-02-19 22:23:54 -05:00 |
Christian Rocha
|
abf5c6e845
|
Also catch home/end/pgup/pgdown on urxvt
|
2020-02-19 22:18:04 -05:00 |
Christian Rocha
|
0cb138f63d
|
Catch a bunch of outlier alt-prefixed keystokes + home/end/pgup/pgdown
|
2020-02-19 21:06:57 -05:00 |
Christian Rocha
|
eefa9c7aa3
|
Catch the alt key modifier
|
2020-02-19 18:35:34 -05:00 |
Christian Rocha
|
f88269fb22
|
Don't send funky escape sequences as keypresses
|
2020-02-18 15:33:06 -05:00 |
Christian Rocha
|
3c6a2c1a52
|
Properly catch shift+tab
|
2020-02-18 14:52:57 -05:00 |
Christian Rocha
|
d38a22380b
|
Revert shift+tab fix because it broke sequences like left/right
|
2020-02-18 11:06:57 -05:00 |
Christian Rocha
|
645a88ca26
|
Export alias for Tab key
|
2020-02-18 11:06:37 -05:00 |
Christian Rocha
|
73d773109f
|
Fix a bug where shift+tab would make inputs wig out
|
2020-02-17 19:58:32 -05:00 |
Christian Rocha
|
82af5a5cb5
|
Update example modules
|
2020-02-12 17:48:32 -05:00 |
Christian Rocha
|
5b001ee17f
|
Spinner example
|
2020-02-10 16:35:29 -05:00 |
Christian Rocha
|
02d3086885
|
Fix typos in comments
|
2020-02-10 12:44:04 -05:00 |
Christian Rocha
|
2e6babae9e
|
Add placeholder text to input example
|
2020-02-01 22:28:31 -05:00 |
Christian Rocha
|
5383f5a61e
|
Wrap termenv altscreen functions to make things simpler for the end user
|
2020-02-01 21:07:35 -05:00 |
Christian Rocha
|
f94701aff3
|
I think the cursor move to 1,1 is implicit via altscreen
|
2020-02-01 21:07:35 -05:00 |
Christian Muehlhaeuser
|
f382f4db4a
|
Move ansi helpers to termenv
|
2020-01-31 13:52:20 +01:00 |
Christian Rocha
|
bb06373836
|
Whoops, accidentally commited this new Sub type idea
|
2020-01-29 21:37:37 -05:00 |
Christian Rocha
|
4b4655b14a
|
Note about project being a pre-release
|
2020-01-27 21:27:20 -05:00 |
Christian Rocha
|
91271cacab
|
Fill out constants and strings for control keys
|
2020-01-26 16:46:30 -05:00 |
Christian Rocha
|
84c9ca54bc
|
Add missing control keys
|
2020-01-26 15:39:54 -05:00 |