forked from genewildish/Mainline
Increase firehose zone height and adjust scroll duration multiplier for firehose mode.
This commit is contained in:
@@ -462,7 +462,7 @@ def fetch_poetry():
|
||||
|
||||
# ─── STREAM ───────────────────────────────────────────────
|
||||
_SCROLL_DUR = 3.75 # seconds per headline
|
||||
FIREHOSE_H = 6 # firehose zone height (terminal rows)
|
||||
FIREHOSE_H = 12 # firehose zone height (terminal rows)
|
||||
_mic_db = -99.0 # current mic level, written by background thread
|
||||
_mic_stream = None
|
||||
|
||||
@@ -737,7 +737,7 @@ def stream(items):
|
||||
fh = FIREHOSE_H if FIREHOSE else 0
|
||||
sh = h - fh # scroll zone height
|
||||
GAP = 3 # blank rows between headlines
|
||||
dt = _SCROLL_DUR / (sh + 15) * 2
|
||||
dt = _SCROLL_DUR / (sh + 15) * (4 if FIREHOSE else 2)
|
||||
|
||||
# active blocks: (content_rows, color, canvas_y, meta_idx)
|
||||
active = []
|
||||
|
||||
Reference in New Issue
Block a user