Commit Graph

28 Commits

Author SHA1 Message Date
19895e6049 Added a configuration viewer example 2022-11-26 22:49:58 -05:00
e588d7d791 Modifier states returned from x backend should be 100% correct now 2022-11-24 22:16:22 -05:00
Sasha Koshka
ae514f5ae2 Add proper and reliable (i hope) support for modifier keys 2022-11-22 00:21:35 -05:00
Sasha Koshka
8c28c57925 Support for meta and hyper keys added
Support for the compose key has also been added but it's just the
button code for now, no support for actually composing stuff.
There are plans for that in a fixme.
2022-11-21 23:43:22 -05:00
9a37fbf04a Updated examples and added more documentation 2022-11-19 18:00:47 -05:00
cab280a371 Removed the need for a quit handler 2022-11-16 11:08:30 -05:00
e030f8632b Overhauled event system 2022-11-16 00:29:23 -05:00
85994112cf Made buffer's dot private 2022-11-15 17:41:08 -05:00
02d010818f Fix possible segfault in X backend 2022-11-15 11:40:10 -05:00
1eceb53b94 Added fun color example 2022-11-15 11:29:45 -05:00
1d71df180d Changed how buttons are stored in press and release events 2022-11-14 23:15:21 -05:00
b816a4abf5 Added a Printable method to button 2022-11-14 23:09:31 -05:00
872b36d172 Added text input example (non-working) 2022-11-13 22:28:44 -05:00
636e5ce7e7 Sus. Sus amongus.
amoogoos.
2022-11-12 22:43:36 -05:00
48510db209 Added mouse button press input 2022-11-12 19:02:24 -05:00
e4f97a918a Application must now manually call application.Draw in all cases
This behavior is way more consistent, and it makes the drawing code
a bit simpler.
2022-11-11 23:24:20 -05:00
05c448f058 Applications can now manually call a screen redraw in a way that I think is thread safe 2022-11-11 22:30:59 -05:00
23a04a9cdb Added icon setting 2022-11-10 02:02:08 -05:00
c93ca17fe5 x backend has an event loop 2022-11-09 18:53:14 -05:00
0c5118b59a Added X backend stub 2022-11-09 15:52:49 -05:00
e7b5136ea6 Return channel from run method 2022-11-09 01:18:56 -05:00
3a879d9a5f Mouse input works 2022-11-06 15:59:06 -05:00
ff7240d553 Pass keyboard events through application 2022-11-06 15:12:44 -05:00
f6b8d9903b Return err from Application.Run 2022-11-06 14:47:37 -05:00
4b129a8391 Buffer, DamageBuffer, and Application are io.Writers 2022-11-06 14:17:43 -05:00
6e5cbd50f5 Fixed coordinate system 2022-11-05 18:56:56 -04:00
d739c0a6ed Cells are now drawn 2022-11-05 18:43:57 -04:00
fea20558ac Initial commit 2022-10-31 15:51:28 -04:00