From 925c238f023cb0bf9b8f9fab40f13ac095bf97df Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Mon, 24 Aug 2020 19:39:47 +0200 Subject: [PATCH] Use pretty print in cli --- relational_readline/linegui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relational_readline/linegui.py b/relational_readline/linegui.py index 6471bc3..ec2c222 100644 --- a/relational_readline/linegui.py +++ b/relational_readline/linegui.py @@ -301,7 +301,7 @@ def exec_query(command: str) -> None: if printrel: print() - print(result) + print(result.pretty_string(tty=True)) ui.relations[relname] = result