txtv

Swiss text tv in the terminal
git clone https://git.in0rdr.ch/txtv.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

commit fed94b19070f19d9c63e30b334d8736727b92b49
parent 96b15a6c2b61790c58a1686402b8c40d639bb683
Author: Isak Lindhé <isak.e.lindhe@gmail.com>
Date:   Mon, 11 Feb 2019 00:05:34 +0100

ignore empty lines in interactive

Diffstat:
Msrc/txtv.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/txtv.py b/src/txtv.py @@ -74,6 +74,8 @@ def interactive(start_page: Page): while True: try: raw = input('> ').strip().lower() + if raw == '': + continue cmd, m = match_command(raw, interactive=True) if cmd: cmd['func'](state=state, match=m)