Commit Graph

316 Commits

Author SHA1 Message Date
Jonathan Daugherty
4e6b90d928 KeyConfig: add reverseKeyMappings to allow applications to check for colliding bindings
This change also adjusts KeyConfig's internals so that collisions are
preserved since they may not actually be bad.
2022-08-18 14:59:00 -07:00
Jonathan Daugherty
9372c391d5 Bump version 2022-08-08 15:30:31 -07:00
Jonathan Daugherty
cf5be91a56 Merge branch 'master' into documentation/brick-1.0-staging 2022-08-05 13:00:30 -07:00
Jonathan Daugherty
ad91a0b727 CustomKeybindingDemo: add a working example INI file to load 2022-08-04 19:10:31 -07:00
Jonathan Daugherty
c794550c88 Remove Sam Tay's tutorial to reduce maintenance burden 2022-08-04 14:41:38 -07:00
Jonathan Daugherty
fec4c11477 Add initial custom keybinding demo program 2022-08-02 19:24:35 -07:00
Jonathan Daugherty
a8e1bf5909 Merge refactor/event-state-monad 2022-08-02 18:49:36 -07:00
Jonathan Daugherty
8249d1ea77 KeyHandlerMap -> KeyDispatcher 2022-08-01 12:52:13 -07:00
Jonathan Daugherty
b0273b0109 MouseDemo: move Vty handle operations into appStartEvent 2022-07-21 14:22:11 -07:00
Jonathan Daugherty
293ba9ceba Move EventM from Brick.Types to Brick.Types.EventM, stop exporting internals of EventM 2022-07-17 19:03:29 -07:00
Jonathan Daugherty
f2f8013d63 Types: re-export state monad functions as part of API 2022-07-16 23:17:45 -07:00
Jonathan Daugherty
4ea1f65d86 Update demo programs for changes to EventM 2022-07-16 23:10:03 -07:00
Jonathan Daugherty
5db48f2820 Initial refactor of EventM to be a state monad (also migrates to mtl) 2022-07-15 17:57:39 -07:00
Jonathan Daugherty
04676115e6 Incorporate keybinding machinery from Matterhorn 2022-07-10 09:37:16 -07:00
Jonathan Daugherty
034ce2dfbf Bump version, update changelog 2022-07-09 09:23:10 -07:00
Jonathan Daugherty
4749694d5a Bump version, update changelog 2022-07-09 08:44:05 -07:00
Jonathan Daugherty
c832aef14a Improve editor cursor placement with moveCursorClosest from text-zipper 0.12 2022-07-09 08:40:04 -07:00
Jonathan Daugherty
41387854ae Bump version, update changelog 2022-07-05 08:17:25 -07:00
Jonathan Daugherty
ac7a8aeb71 Bump version, update changelog 2022-07-04 09:27:25 -07:00
Jonathan Daugherty
0a3a8f8012 Upgrade Vty and expected Show formatting of Picture in Render.hs 2022-07-04 09:14:23 -07:00
Valentin Golev
b68310e740 renderWidget function 2022-07-01 04:02:27 +02:00
Jonathan Daugherty
fa1330d216 cabal: update copyright range 2022-06-19 14:17:21 -07:00
Jonathan Daugherty
da6a7994e6 Bump version, update changelog 2022-06-19 13:13:34 -07:00
Jonathan Daugherty
708c74c339 Bump version, update changelog 2022-06-19 13:05:53 -07:00
Jonathan Daugherty
9cc4c7d57f Bump version, update changelog 2022-06-18 09:10:34 -07:00
Jonathan Daugherty
83a74ddacd Bump version, update changelog 2022-05-23 13:30:24 -07:00
Jonathan Daugherty
07068b4d8d Bump version, update changelog 2022-03-31 22:03:07 -07:00
Jonathan Daugherty
ec2f45f07e Bump version, update changelog 2022-03-07 08:32:07 -08:00
Jonathan Daugherty
315f19e060 Remove brick-markup-demo, Data.Text.Markup, and Brick.Markup 2022-03-07 08:29:36 -08:00
Jonathan Daugherty
3fd091b5ac Bump version, update changelog 2022-01-31 09:17:13 -08:00
Jonathan Daugherty
e20858fa9b Bump version, update changelog 2022-01-21 10:22:19 -08:00
Jonathan Daugherty
0b21099b94 Bump version, update changelog 2022-01-18 14:44:16 -08:00
Jonathan Daugherty
7760d8defc Bump version, update changelog 2022-01-18 10:36:27 -08:00
Jonathan Daugherty
04545cce8b README: update copyright 2021-11-19 20:48:42 -08:00
Jonathan Daugherty
2090f2e414 Bump version, update changelog 2021-11-19 20:41:45 -08:00
Jonathan Daugherty
9ca9a39b89 Add support for vertical and horizontal scroll bars on viewports 2021-11-12 16:31:48 -08:00
Mario Lang
9c78ed50fb Bump base to support GHC 9.2.1 2021-11-08 07:27:50 +01:00
Simon Jakobi
e1d02d3036 Migrate CI to GitHub Actions
Support for GHC 7.10 is dropped, because some MonadFail-related issues
turned out tricky to fix.
2021-10-23 04:37:45 +02:00
Jonathan Daugherty
f1b13aadbb Bump version, update changelog 2021-10-22 08:22:46 -07:00
Jonathan Daugherty
d10f01fcce Bump version, update changelog 2021-09-16 11:00:51 -07:00
Jonathan Daugherty
399738f5e2 Bump version, update changelog 2021-08-23 08:54:24 -07:00
Mario Lang
e634306c21 Edit: Bind M-< and M-> to gotoBOF and gotoEOF 2021-07-20 01:11:43 +02:00
Mario Lang
ca8b1bae67 Implement support for the new PositionOnly constructor
The API putCursor will request positioning but keep cursor invisible.
2021-06-25 02:22:52 +02:00
Jonathan Daugherty
d95cc7f839 Bump version, update changelog 2021-06-13 08:32:16 -07:00
Jonathan Daugherty
7d5fb8cd9d Bump version, update changelog 2021-04-29 12:34:02 -07:00
Jonathan Daugherty
53f7122552 Add cropping demo program 2021-04-29 12:11:29 -07:00
Jonathan Daugherty
9242f70b1b Bump version, update changelog 2021-04-08 17:54:17 -07:00
Jonathan Daugherty
531d868323 Fix base bound for future changes 2021-04-05 09:24:53 -07:00
Ondřej Súkup
e7072c5cab
Fix condition for base version.
Unfortunately `base <=4.15` is false for `base-4.15.0.0` so fix condition to `base < 4.16`
2021-03-11 12:17:07 +01:00
Jonathan Daugherty
1c5c7713fa Bump version, update changelog 2021-02-06 20:12:54 -08:00