Commit Graph

38 Commits

Author SHA1 Message Date
Christian Rocha a85d22cf54
Handle arrows on Powershell on Unix-like systems 2020-10-13 14:42:29 -04:00
Christian Rocha 223519f81f
Add periods after comments to make the godoc linter happy. 2020-08-24 15:22:04 -04:00
Christian Muehlhaeuser d26cfb6b38
Make golint happy 2020-08-22 12:34:03 +02:00
Christian Rocha 6fcdf9908f
Improve examples in docs 2020-07-30 11:30:33 -04:00
Christian Rocha a5e38222c5
Don't expose ReadInput 2020-07-29 20:51:55 -04:00
Christian Rocha c0f67a2927
Improve GoDocs 2020-07-29 20:50:00 -04:00
Christian Rocha eecd6b0612
Fix ctrl+v key mapping 2020-07-21 15:50:07 -04:00
Christian Rocha 2ee871862a
Fix bug where certain keys (pgup/pgdown/home/end/etc) weren't being sent 2020-07-20 11:50:27 -04:00
Christian Rocha d86cb562f0
Add basic mouse support 2020-06-22 20:41:26 -04:00
Christian Rocha 3b8b011b5a
Rename to Bubble Tea (with the import name tea) 2020-05-25 19:48:36 -04:00
Christian Muehlhaeuser e8b7e510bb
Simplify key/sequence map 2020-05-25 14:03:59 +02:00
Christian Muehlhaeuser 0957c58e05
Make type documentation godoc-compliant 2020-05-25 14:02:46 +02:00
Christian Rocha ee5f82579f
Don't treat the space character as a control character
There are drawbacks to both sides of this, but in the end, it seems to make
more sense to treat spaces as regular runes.
2020-05-19 14:41:55 -04:00
Christian Rocha 4bf40fbe62
Rename project to Boba 2020-05-12 16:39:08 -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 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 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
Christian Rocha f64f86f183
Add missing comment 2020-01-25 16:34:00 -05:00
Christian Muehlhaeuser 47bfe2b5df
Simplify IsRune() 2020-01-25 06:56:53 +01:00
Christian Rocha fac654d7ef
Fix incorrect line feed value + also listen for tab 2020-01-18 11:20:26 -05:00
Christian Rocha 32dc19b3d3
Fix a bug where control keys weren't being properly mapped 2020-01-17 22:21:17 -05:00
Christian Rocha 208f421470
Refactor the keybinding stuff + add backspace 2020-01-17 20:46:34 -05:00
Christian Rocha c7f1302943
Remove extraneous select{} and improve comments 2020-01-14 17:56:51 -05:00
Christian Rocha 466d16b5a4
Let's call sequences what they really are 2020-01-14 17:15:17 -05:00
Christian Rocha b6c8792309
Multi-view example with progress bar 2020-01-14 13:47:36 -05:00
Christian Rocha 97bbcdd5fb
Catch Ctrl+C 2020-01-11 11:15:01 -05:00
Christian Rocha 293c2f6696
Also use escape to quit 2020-01-10 23:46:46 -05:00
Christian Rocha c7d28354f7
Also use arrow keys in example 2020-01-10 23:12:25 -05:00
Christian Rocha bee32ca733
Initial commit. First pass. 2020-01-10 16:02:04 -05:00