aboutsummaryrefslogtreecommitdiffstats
path: root/clients
diff options
context:
space:
mode:
authorBlake DeMarcy <desvox@users.noreply.github.com>2017-04-26 20:26:38 -0500
committerGitHub <noreply@github.com>2017-04-26 20:26:38 -0500
commit7346a9410f4711be901f6fd22952c004543e8a4c (patch)
treec4f8e4b2360e9276ac84e21d045d7062e1d816ef /clients
parent5af39825d3c61ee91d3dee5fd35786495d5b2e2c (diff)
downloadbbj-7346a9410f4711be901f6fd22952c004543e8a4c.tar.gz
more sizing tweaks on the format help window
Diffstat (limited to 'clients')
-rw-r--r--clients/urwid/main.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/clients/urwid/main.py b/clients/urwid/main.py
index 339a369..bdba558 100644
--- a/clients/urwid/main.py
+++ b/clients/urwid/main.py
@@ -73,7 +73,8 @@ welcome = """>>> Welcome to Bulletin Butter & Jelly! ------------------@
"""
format_help = [
- "Quick reminder: \[rainbow: expressions work like this]\n\n"
+ "Quick reminder: \[rainbow: expressions work like this]. You may scroll "
+ "this message, or press Q or escape to close it.\n\n"
"BBJ supports **bolding**, __underlining__, and [rainbow: coloring] text "
"using markdown-style symbols as well as tag-like expressions. Markdown "
@@ -961,13 +962,14 @@ class App(object):
**frame_theme()
)
- v = 5 if self.window_split else 50
+ va = 5 if self.window_split else 50
+ vh = 45 if self.window_split else 75
app.loop.widget = urwid.Overlay(
widget, app.loop.widget,
align=("relative", 50),
- valign=("relative", v),
+ valign=("relative", va),
width=app.prefs["max_text_width"],
- height=("relative", 45)
+ height=("relative", vh)
)
Un proyecto texto-plano.xyz