fatty 0.99.10.0 → 0.99.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.org +30 -0
  3. data/README.md +263 -230
  4. data/README.org +49 -5
  5. data/examples/markdown/native-markdown.md +370 -0
  6. data/examples/markdown/ox-gfm-markdown.md +373 -0
  7. data/exe/fatty +43 -41
  8. data/exe/themer +10 -10
  9. data/help/help.md +1 -0
  10. data/lib/fatty/alert.rb +1 -1
  11. data/lib/fatty/ansi/renderer.rb +8 -4
  12. data/lib/fatty/ansi/windows_console.rb +40 -0
  13. data/lib/fatty/ansi.rb +0 -5
  14. data/lib/fatty/api/choose.rb +2 -2
  15. data/lib/fatty/api/menu.rb +3 -0
  16. data/lib/fatty/api/output.rb +13 -5
  17. data/lib/fatty/api/progress.rb +6 -6
  18. data/lib/fatty/api/prompt.rb +3 -1
  19. data/lib/fatty/api/status.rb +1 -1
  20. data/lib/fatty/api.rb +12 -10
  21. data/lib/fatty/callback_environment.rb +1 -0
  22. data/lib/fatty/colors/color.rb +7 -30
  23. data/lib/fatty/config.rb +11 -11
  24. data/lib/fatty/curses/context.rb +41 -11
  25. data/lib/fatty/curses/event_source.rb +85 -26
  26. data/lib/fatty/curses/key_decoder.rb +54 -22
  27. data/lib/fatty/curses/patch.rb +2 -0
  28. data/lib/fatty/curses/pdcurses_keys.rb +154 -0
  29. data/lib/fatty/curses/windows_keyboard.rb +35 -0
  30. data/lib/fatty/env.rb +14 -12
  31. data/lib/fatty/help.rb +26 -18
  32. data/lib/fatty/input_field.rb +55 -17
  33. data/lib/fatty/key_event.rb +1 -4
  34. data/lib/fatty/keymaps/emacs.rb +12 -2
  35. data/lib/fatty/markdown/ansi_renderer.rb +1 -1
  36. data/lib/fatty/markdown/render.rb +10 -3
  37. data/lib/fatty/mouse_event.rb +3 -3
  38. data/lib/fatty/output_buffer.rb +1 -2
  39. data/lib/fatty/pager.rb +7 -7
  40. data/lib/fatty/progress.rb +2 -2
  41. data/lib/fatty/renderer/curses.rb +28 -27
  42. data/lib/fatty/renderer/truecolor.rb +8 -1
  43. data/lib/fatty/renderer.rb +6 -6
  44. data/lib/fatty/session/keytest_session.rb +2 -1
  45. data/lib/fatty/session/output_session.rb +3 -5
  46. data/lib/fatty/session/popup_session.rb +24 -24
  47. data/lib/fatty/session/prompt_session.rb +1 -1
  48. data/lib/fatty/session/shell_session.rb +11 -5
  49. data/lib/fatty/session/status_session.rb +2 -2
  50. data/lib/fatty/shell.rb +60 -0
  51. data/lib/fatty/terminal.rb +24 -19
  52. data/lib/fatty/version.rb +1 -1
  53. data/lib/fatty.rb +9 -10
  54. metadata +24 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 183a2c3976e21904c08e789d48a5d1d83e7ba4565d2e058d672582eafa1b1394
4
- data.tar.gz: 6bc4ec11900d9e848fd8c393c56985fd8db9d3fbdaee14f855296a506ccd0561
3
+ metadata.gz: 74778146e71d7528f950e555f02a5cf89eda8fb8d6a7b287691bd6a2a91d624f
4
+ data.tar.gz: 6fb0d6b078d23969c83a31904df49b8b4202d3f4ced781aa2be0851242bf670c
5
5
  SHA512:
6
- metadata.gz: fe8e52fd5b53b19e8988c59346848a71733791c157964b964d716d04bdb83325f32236af8812635df3788a175fefa6d0d9a99533c659441b88ff80c31457c05d
7
- data.tar.gz: 35bb10e02b42599a429e062d5dc16b06307e23ac6b62e6216980b6905c6e04adf609c91a7b9cb85ddd4dad32b934c4e59e82d4205523b7d63f8cd3013a62bc19
6
+ metadata.gz: 4874a171dfd423c8da4550d1534c7a71689e64cd7a3e19dc2638e0d27a21aeb2e82500cc7b0ee88466a09bc3b93c9a4993918bce2df41c6312248b5f28a0f135
7
+ data.tar.gz: 164364c54d300623c008ae5090453bf1cd5debbe8452a48389a058aa9c622fea1a44748edafe6858e6ce443bcab037a46f08f12f722401818897bb2160073820
data/CHANGELOG.org CHANGED
@@ -6,6 +6,36 @@
6
6
  user would find useful.
7
7
  5. Give each heading a version number and an inactive date (C-c ! is useful here).
8
8
 
9
+ * Version 0.99.12.0 [2026-11-21 Sat]
10
+ - Improve Windows support, with all demo commands tested on Windows 11.
11
+ - Complete Windows paths with backslashes, quoted filenames, and
12
+ case-insensitive matching.
13
+ - Recognize combined Control/Alt keyboard shortcuts while preserving
14
+ AltGr text entry.
15
+ - Improve Backspace, navigation, function-key, and numeric-keypad
16
+ handling, including keypad Enter.
17
+ - Detect truecolor support in Windows Terminal.
18
+ - Fix missing or delayed Windows prompts and colors.
19
+ - Fix Windows hangs during shell commands and shutdown.
20
+ - Display Windows shell output containing accented characters without
21
+ crashing.
22
+ - Support terminal suspension with the patched Windows curses build;
23
+ report clearly when suspension is unavailable.
24
+ - Allow keyboard-only operation when mouse support is unavailable.
25
+ - Include the Markdown demo files in the installed gem.
26
+ - Require fat_config 0.8.1 or later for Windows configuration paths.
27
+
28
+ * Version 0.99.10.0 and 0.99.11.0
29
+ - Rotate log files after 5M; keep 20
30
+ - Add markdown_now for immediate rendering of markdown to output.
31
+
32
+ * Version 0.99.9.0
33
+ Handle raw CSI sequences and extend keydefs.yml to handle them.
34
+
35
+ Fatty recognizes raw CSI navigation sequences, including modified
36
+ arrows, Home/End, Insert/Delete, and PageUp/PageDown. An unsupported
37
+ complete CSI sequence is reported as an undefined key, rather than
38
+
9
39
  * Version 0.99.8.7 [2026-10-06 Tue]
10
40
 
11
41
  - Recognize Backspace and Meta-Backspace when terminals send raw DEL (127),