From 451d7bf0db58d42afc5a5086353558d227040dff Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 23 Nov 2020 03:41:54 +0100 Subject: Update everything --- ui.py | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) (limited to 'ui.py') diff --git a/ui.py b/ui.py index e2a166a..c198cfd 100644 --- a/ui.py +++ b/ui.py @@ -5,21 +5,22 @@ tui_show_example = True def show_terminal(word): - """Display the definition to the terminal - - @word Format: - { - mot: '' - cat-gram: '' - def: [{ - def: '' - ex: ['', ''] - }] - API: '' - infos: ['', ''] - genre: '' - accord: '' - } + """ + Display the definition to the terminal + + @word Format: + { + mot: '' + cat-gram: '' + def: [{ + def: '' + ex: ['', ''] + }] + API: '' + infos: ['', ''] + genre: '' + accord: '' + } """ indent = tui_indent * ' ' print(indent + word['mot']) @@ -45,7 +46,3 @@ def show_terminal(word): print(indent + '\t\t * ' + ex) print('') - -def show_web(word): - """Display the definition in HTML format""" - pass -- cgit v1.2.3