fatty 0.99.10.0 → 0.99.12.1

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 (55) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.org +37 -0
  3. data/README.md +275 -230
  4. data/README.org +64 -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 +66 -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 +42 -12
  25. data/lib/fatty/curses/curses_coder.rb +1 -1
  26. data/lib/fatty/curses/event_source.rb +85 -26
  27. data/lib/fatty/curses/key_decoder.rb +54 -22
  28. data/lib/fatty/curses/patch.rb +2 -0
  29. data/lib/fatty/curses/pdcurses_keys.rb +154 -0
  30. data/lib/fatty/curses/windows_keyboard.rb +35 -0
  31. data/lib/fatty/env.rb +14 -12
  32. data/lib/fatty/help.rb +26 -18
  33. data/lib/fatty/input_field.rb +55 -17
  34. data/lib/fatty/key_event.rb +1 -4
  35. data/lib/fatty/keymaps/emacs.rb +12 -2
  36. data/lib/fatty/markdown/ansi_renderer.rb +1 -1
  37. data/lib/fatty/markdown/render.rb +10 -3
  38. data/lib/fatty/mouse_event.rb +3 -3
  39. data/lib/fatty/output_buffer.rb +1 -2
  40. data/lib/fatty/pager.rb +7 -7
  41. data/lib/fatty/progress.rb +2 -2
  42. data/lib/fatty/renderer/curses.rb +28 -27
  43. data/lib/fatty/renderer/truecolor.rb +8 -1
  44. data/lib/fatty/renderer.rb +6 -6
  45. data/lib/fatty/session/keytest_session.rb +2 -1
  46. data/lib/fatty/session/output_session.rb +3 -5
  47. data/lib/fatty/session/popup_session.rb +24 -24
  48. data/lib/fatty/session/prompt_session.rb +1 -1
  49. data/lib/fatty/session/shell_session.rb +11 -5
  50. data/lib/fatty/session/status_session.rb +2 -2
  51. data/lib/fatty/shell.rb +60 -0
  52. data/lib/fatty/terminal.rb +31 -24
  53. data/lib/fatty/version.rb +1 -1
  54. data/lib/fatty.rb +9 -10
  55. metadata +34 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 183a2c3976e21904c08e789d48a5d1d83e7ba4565d2e058d672582eafa1b1394
4
- data.tar.gz: 6bc4ec11900d9e848fd8c393c56985fd8db9d3fbdaee14f855296a506ccd0561
3
+ metadata.gz: fe24599c61bdc0dae903182a835a6f5f10b711b6780218dce41c45b9d86498dc
4
+ data.tar.gz: d2ef5197c3e426e01ff19ae302d2f50ca64118b548c81f8bb07e42d2ceb21b57
5
5
  SHA512:
6
- metadata.gz: fe8e52fd5b53b19e8988c59346848a71733791c157964b964d716d04bdb83325f32236af8812635df3788a175fefa6d0d9a99533c659441b88ff80c31457c05d
7
- data.tar.gz: 35bb10e02b42599a429e062d5dc16b06307e23ac6b62e6216980b6905c6e04adf609c91a7b9cb85ddd4dad32b934c4e59e82d4205523b7d63f8cd3013a62bc19
6
+ metadata.gz: 01d60676e34b21c91e48d1acd923fe3050374badd8067027e6fee61fba615a632d5bb78b9060470e74bd74c4dd98f567c61092967433ae541812b971a6b881e6
7
+ data.tar.gz: cd7c6cf6865399b302b6aebbbb0f2753c7c96a9f1cf2c3aaa7bc0e374a31b35ffb672c742b53e37e5100eb8dd48ba477c18ed305c8f4e2171b6f2c3b102e4d09
data/CHANGELOG.org CHANGED
@@ -6,6 +6,43 @@
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.1 [2026-11-24 Tue]
10
+ - Install the patched curses binding automatically through fatty-curses;
11
+ no separate fork installation is needed for Windows suspension.
12
+ - Restore normal colors, line breaks, and wrapping for external Windows
13
+ commands while Fatty is suspended.
14
+ - Avoid printing a stray cursor-reset character when exiting on Windows.
15
+
16
+ * Version 0.99.12.0 [2026-11-21 Sat]
17
+ - Improve Windows support, with all demo commands tested on Windows 11.
18
+ - Complete Windows paths with backslashes, quoted filenames, and
19
+ case-insensitive matching.
20
+ - Recognize combined Control/Alt keyboard shortcuts while preserving
21
+ AltGr text entry.
22
+ - Improve Backspace, navigation, function-key, and numeric-keypad
23
+ handling, including keypad Enter.
24
+ - Detect truecolor support in Windows Terminal.
25
+ - Fix missing or delayed Windows prompts and colors.
26
+ - Fix Windows hangs during shell commands and shutdown.
27
+ - Display Windows shell output containing accented characters without
28
+ crashing.
29
+ - Support terminal suspension with the patched Windows curses build;
30
+ report clearly when suspension is unavailable.
31
+ - Allow keyboard-only operation when mouse support is unavailable.
32
+ - Include the Markdown demo files in the installed gem.
33
+ - Require fat_config 0.8.1 or later for Windows configuration paths.
34
+
35
+ * Version 0.99.10.0 and 0.99.11.0
36
+ - Rotate log files after 5M; keep 20
37
+ - Add markdown_now for immediate rendering of markdown to output.
38
+
39
+ * Version 0.99.9.0
40
+ Handle raw CSI sequences and extend keydefs.yml to handle them.
41
+
42
+ Fatty recognizes raw CSI navigation sequences, including modified
43
+ arrows, Home/End, Insert/Delete, and PageUp/PageDown. An unsupported
44
+ complete CSI sequence is reported as an undefined key, rather than
45
+
9
46
  * Version 0.99.8.7 [2026-10-06 Tue]
10
47
 
11
48
  - Recognize Backspace and Meta-Backspace when terminals send raw DEL (127),