fatty 0.99.8.5 → 0.99.8.6
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.
- checksums.yaml +4 -4
- data/CHANGELOG.org +5 -0
- data/README.md +8 -0
- data/README.org +6 -0
- data/lib/fatty/api/output.rb +6 -0
- data/lib/fatty/terminal.rb +6 -1
- data/lib/fatty/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8562f60e8a05b35d373ee1d0b5e6e825bfd9febd4f725882808447661cc23b24
|
|
4
|
+
data.tar.gz: a56b9cffd9f555f7c5e790825c3b449ff07bea8c1474a7084c50216177a6741a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80c8c5d52c3fd7e36ed85548aaafcc43c48d2e4b60ae78da95b6311e06298a9b3b352974eaf22628b7bee6bb9ddaf4be5164ca67864af8b5d7c802ff689537e6
|
|
7
|
+
data.tar.gz: 220dfef58f987ab32a237cc2b9917fe96b71436163cb290036e6de62b43c5b94d12e13349085569c4187d381510b9da512e678629c25f7b52fe9c7e8948e17f8
|
data/CHANGELOG.org
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
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.8.6 [2026-10-04 Sun]
|
|
10
|
+
|
|
11
|
+
- Fix the truecolor display going blank after returning from an external command.
|
|
12
|
+
- Add =clear_now= to clear and immediately redraw the output pane from a callback.
|
|
13
|
+
|
|
9
14
|
* Version 1.0.0
|
|
10
15
|
Initial stable release.
|
|
11
16
|
|
data/README.md
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
- [The Callback API](#org5f103bb)
|
|
22
22
|
- [`append(text, follow: true, role: nil)`](#orgf90a804)
|
|
23
23
|
- [`append_now(text, follow: true, mode: nil, role: nil)`](#org96421ae)
|
|
24
|
+
- [`clear_now`](#org4e94048)
|
|
24
25
|
- [`markdown(text)`](#orge61ad54)
|
|
25
26
|
- [`status(text, role: :info)`](#org8d20d95)
|
|
26
27
|
- [`good(text, replace: false, render: true)`](#org4430a3b)
|
|
@@ -478,6 +479,13 @@ Setting the mode to `:scrolling` or `:paging` determines whether the output is s
|
|
|
478
479
|
You can specify a "role" of `:good`, `:info`, `:warn`, or `:error` to color the output according to the current theme's coloring scheme for those roles. Those role names can be symbols or strings.
|
|
479
480
|
|
|
480
481
|
|
|
482
|
+
<a id="org4e94048"></a>
|
|
483
|
+
|
|
484
|
+
### `clear_now`
|
|
485
|
+
|
|
486
|
+
Clear the callback's output pane and redraw immediately. Use this before displaying a fresh report or starting the next step of a guided workflow. This affects output already displayed; queued `append` commands remain queued, just as they do when calling `append_now`.
|
|
487
|
+
|
|
488
|
+
|
|
481
489
|
<a id="orge61ad54"></a>
|
|
482
490
|
|
|
483
491
|
### `markdown(text)`
|
data/README.org
CHANGED
|
@@ -396,6 +396,12 @@ You can specify a "role" of =:good=, =:info=, =:warn=, or =:error= to color
|
|
|
396
396
|
the output according to the current theme's coloring scheme for those roles.
|
|
397
397
|
Those role names can be symbols or strings.
|
|
398
398
|
|
|
399
|
+
*** =clear_now=
|
|
400
|
+
Clear the callback's output pane and redraw immediately. Use this before
|
|
401
|
+
displaying a fresh report or starting the next step of a guided workflow.
|
|
402
|
+
This affects output already displayed; queued =append= commands remain queued,
|
|
403
|
+
just as they do when calling =append_now=.
|
|
404
|
+
|
|
399
405
|
*** =markdown(text)=
|
|
400
406
|
Render the given text as markdown source according to the current theme then
|
|
401
407
|
=append= the result to the output pane.
|
data/lib/fatty/api/output.rb
CHANGED
data/lib/fatty/terminal.rb
CHANGED
|
@@ -202,7 +202,12 @@ module Fatty
|
|
|
202
202
|
ctx.resume
|
|
203
203
|
reconcile_terminal_size!
|
|
204
204
|
renderer.invalidate!
|
|
205
|
-
|
|
205
|
+
if renderer.context.truecolor
|
|
206
|
+
# Layout reconciliation rebuilds the input window. Its first getch
|
|
207
|
+
# would refresh curses' blank backing screen over the ANSI frame.
|
|
208
|
+
ctx.input_win&.refresh
|
|
209
|
+
renderer.clear_physical_screen!
|
|
210
|
+
end
|
|
206
211
|
render_frame
|
|
207
212
|
@deferred_render = true
|
|
208
213
|
end
|
data/lib/fatty/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fatty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.99.8.
|
|
4
|
+
version: 0.99.8.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel E. Doherty
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-10-
|
|
10
|
+
date: 2026-10-04 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: curses
|