Commit Graph

249 Commits

Author SHA1 Message Date
Christian Rocha 43bcbfc84b
Clean up 'views' example 2020-07-30 12:32:24 -04:00
Christian Rocha 6fcdf9908f
Improve examples in docs 2020-07-30 11:30:33 -04:00
Christian Rocha 17035473db
More documentation edits 2020-07-29 20:54:15 -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 a784aa32ca
Bump bubbles in examples and remove NewModel function in pager example 2020-07-29 20:07:26 -04:00
Christian Rocha 6d919a9213
Bump termenv in example 2020-07-29 20:07:26 -04:00
Christian Rocha 73a857c20b
Add GoDoc and CI badges 2020-07-29 20:07:26 -04:00
Christian Rocha 9e0411eee9
Correct URL to license in README 2020-07-29 20:07:26 -04:00
Christian Rocha e960d11963
Remove example from README + add resources and summary. 2020-07-29 20:07:26 -04:00
Christian Rocha a661e7bf30
Add Go 1.14 to CI 2020-07-29 17:12:10 -04:00
Christian Rocha e98068d48d
Remove Windows from CI for now 2020-07-29 17:11:40 -04:00
Christian Rocha c6a1afd3c7
Remove syslog stuff for Windows support + LogToFile()'s a better choice. 2020-07-27 14:58:51 -04:00
Christian Rocha 5d434e1753
Fix a typo in the basics tutorial 2020-07-23 22:39:54 -04:00
Christian Rocha b4d65cfe44
Language improvements to the command tutorial 2020-07-23 22:35:25 -04:00
Christian Rocha 9c70f5f126
Fix typos and improve language in the basics tutorial 2020-07-23 22:27:51 -04:00
Christian Rocha f1186b011b
Friendlier headers in the basics tutorial 2020-07-23 22:17:35 -04:00
Christian Rocha 7e36944c3f
Fix typos and wording in the command tutorial 2020-07-23 22:14:00 -04:00
Christian Rocha 213f179429
Add `Cmd` tutorial 2020-07-23 22:04:53 -04:00
Christian Rocha 676b4fd158
Fix typo in tutorial comment 2020-07-23 18:22:25 -04:00
Christian Rocha 3ffd5cc207
More tutorial copy edits 2020-07-23 18:20:57 -04:00
Christian Muehlhaeuser 52efbb6872
Fix typo in "together" 2020-07-24 00:17:54 +02:00
Christian Rocha d1e9996685
Tutorial edits and improvements 2020-07-23 17:56:26 -04:00
Christian Rocha 6c607aa3ae
Github's Markdown support doesn't include definition lists, I see 2020-07-23 17:35:04 -04:00
Christian Rocha e4243bdede
Add simple tutorial in Markdown 2020-07-23 17:30:25 -04:00
Christian Rocha fe15629c9a
Bump bubbles dependency in examples 2020-07-23 12:48:22 -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 97ae9c6974
Update spinner example for Bubbles 0.4.0 2020-07-14 18:31:55 -04:00
Christian Rocha 2f53eeb54b
Fix a bug in macOS terminal where stuff could get sucked into the scroll area 2020-07-13 11:39:04 -04:00
Christian Rocha 8025748828
Some comments on mouse stuff 2020-07-13 11:26:57 -04:00
Christian Rocha 14a06b0896
Improve some comments 2020-07-06 11:54:02 -04:00
Christian Rocha f7ec07de3c
Clear lines before handing them over to the scrolling renderer 2020-06-25 19:22:37 -04:00
Christian Rocha 8d26b4ebd7
Use mouse consts in termenv 2020-06-25 12:42:31 -04:00
Christian Rocha f3fd9decc9
Improve some comments 2020-06-24 12:14:35 -04:00
Toby Padilla e90039d16e Fix captured variable 2020-06-23 17:26:00 -04:00
Christian Rocha de147c5061
Add mouse wheel support to pager example 2020-06-23 12:01:23 -04:00
Christian Rocha d6cf9e69b6
Fix bug where wheel wasn't being reported if a modifier was pressed 2020-06-23 10:34:46 -04:00
Christian Rocha 5ec2c0712a
Move cursor to (0,0) when entering the altscreen
This should fix cases in some terminals where the following paint is
vertically offset.
2020-06-22 20:47:35 -04:00
Christian Rocha d86cb562f0
Add basic mouse support 2020-06-22 20:41:26 -04:00
Christian Rocha 3a70ecdde1
Use same output for altscreen stuff as everything else 2020-06-22 15:55:52 -04:00
Christian Rocha 05f3028452
Move cursor in a relative fashion in standard render (fixes inline rendering) 2020-06-22 14:35:46 -04:00
Christian Rocha 719d246edd
Bump dependencies 2020-06-22 13:54:16 -04:00
Christian Rocha 8bab4bce9a
Actively place the cursor after a normal render 2020-06-22 13:40:44 -04:00
Christian Rocha ebbab2908c
Put cursor back where we found it after scrolling 2020-06-22 13:40:44 -04:00
Christian Rocha eff99294e1
We actually never needed to correct the top boundary 2020-06-22 13:40:44 -04:00
Christian Rocha 6e75920859
Stay in-bounds when clearing lines 2020-06-22 13:40:44 -04:00
Christian Rocha c0ce48dfdd
Fix repaint when syncing and clearing scroll area 2020-06-22 13:40:44 -04:00
Christian Rocha 673752658f
Comments and cleanup 2020-06-22 13:40:32 -04:00
Christian Rocha bbcdb3ac1f
Render scroll area before other stuff when resizing 2020-06-19 13:27:50 -04:00