Commit Graph

43 Commits

Author SHA1 Message Date
Jonathan Lamothe e41b560d37 added Emacs-style cursor movement 2024-08-17 16:51:04 -04:00
Jonathan Lamothe 44588c691a cleaner event handler for FixCodeEvent 2024-08-15 16:52:23 -04:00
Jonathan Lamothe d3e3e7e4a5 expose keybinding data 2024-08-13 18:00:45 -04:00
Jonathan Lamothe 289499fd0d removed broken emacs keybindings 2024-08-13 15:24:49 -04:00
Jonathan Lamothe 6426057571 use keybindings funcitonality 2024-08-13 13:52:55 -04:00
Jonathan Lamothe 26436538c7 press 'r' to reset hamming code 2024-08-09 15:05:33 -04:00
Jonathan Lamothe ee6e2cb8e6 make use of .= and %= operators 2024-08-09 15:00:57 -04:00
Jonathan Lamothe 4e5c07a070 re-enable q to quit from within edit mode 2024-08-09 14:54:50 -04:00
Jonathan Lamothe 1a085ca16b enable code corrections 2024-08-07 16:43:36 -04:00
Jonathan Lamothe 3661ae559a only let pressing q exit when in display mode 2024-08-07 16:16:23 -04:00
Jonathan Lamothe 7c0a10672f make check bits yellow 2024-08-02 00:24:42 -04:00
Jonathan Lamothe 621d80418e added check bit setting functionality 2024-08-01 20:37:52 -04:00
Jonathan Lamothe 14867b54b0 implemented bit flipping 2024-08-01 20:31:25 -04:00
Jonathan Lamothe 2a46e085d5 move cursor in edit mode 2024-08-01 19:26:22 -04:00
Jonathan Lamothe d2371e956b show validity of hamming code 2024-08-01 18:33:33 -04:00
Jonathan Lamothe 09c8953728 actually display the cursor 2024-08-01 16:17:47 -04:00
Jonathan Lamothe 0c74a4ba61 add cursor location widget 2024-08-01 16:04:37 -04:00
Jonathan Lamothe 417a8691e8 toggle between display/edit modes 2024-07-31 20:01:47 -04:00
Jonathan Lamothe cc6afa222d added quit event 2024-07-31 18:57:13 -04:00
Jonathan Lamothe 633a1b7b24 fixed hamming code attribute names 2024-07-31 18:22:12 -04:00
Jonathan Lamothe 36bc32a688 better lens for fetching EditState from AppMode 2024-07-27 16:06:30 -04:00
Jonathan Lamothe 408e0f0f82 implemented editStateL 2024-07-26 20:35:54 -04:00
Jonathan Lamothe e20dda8c9f created initialEditor 2024-07-26 19:38:31 -04:00
Jonathan Lamothe e95c3a73f3 reorganized haddock headers 2024-07-25 20:26:00 -04:00
Jonathan Lamothe 8feecdfad5 added edit mode to application state 2024-07-25 20:06:13 -04:00
Jonathan Lamothe f995da30b6 centre hamming code 2024-07-23 20:20:53 -04:00
Jonathan Lamothe d0afc52c35 style hamming code widget 2024-07-23 16:45:55 -04:00
Jonathan Lamothe 120d60bc32 internal hamming widget generator should return AttrNames 2024-07-23 16:18:40 -04:00
Jonathan Lamothe 4ea2185243 broke event handler off into Hamming.App.Events and added more types 2024-07-20 20:57:31 -04:00
Jonathan Lamothe 3e742cb6e7 broke drawFunc out into Hamming.App.Draw module 2024-07-20 18:39:04 -04:00
Jonathan Lamothe 7531cf192f put margins on Hamming widget 2024-07-20 16:27:41 -04:00
Jonathan Lamothe 1565c1fe99 display hamming widget 2024-07-19 21:01:33 -04:00
Jonathan Lamothe ef23b67688 build hamming code display widget 2024-07-19 20:50:33 -04:00
Jonathan Lamothe e216432a77 Hamming widget skeleton 2024-07-19 15:16:07 -04:00
Jonathan Lamothe 21242ecbfa lensify AppState 2024-07-18 19:06:17 -04:00
Jonathan Lamothe 696b17fae1 don't crash
`drawFunc` should return an empty widget.
2024-07-18 18:24:53 -04:00
Jonathan Lamothe 0c35841bb2 removed router nonsense 2024-07-18 18:18:04 -04:00
Jonathan Lamothe 6f106c2660 added brick scaffolding 2024-07-17 20:53:23 -04:00
Jonathan Lamothe 74b26de743 detect (but don't correct two-bit errors in a Word16 2024-07-06 20:55:31 -04:00
Jonathan Lamothe ed405e366e find and correct single bit errors in 16-bit hamming codes 2024-07-06 20:37:07 -04:00
Jonathan Lamothe c494a25587 implemented isValid for Word16 2024-06-30 21:11:38 -04:00
Jonathan Lamothe af26fcedd8 implemented calculation of check bits for Word16 2024-06-30 09:02:01 -04:00
Jonathan Lamothe 4938b20d24 initial commit 2024-06-29 18:39:54 -04:00