diff options
author | ache <ache@ache.one> | 2020-11-23 03:41:54 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2020-11-23 03:41:54 +0100 |
commit | 451d7bf0db58d42afc5a5086353558d227040dff (patch) | |
tree | 3cf473a791ba425e09da566a142f9bb32da692e6 /ui.py | |
parent | Documentation README (diff) |
Update everything
Diffstat (limited to 'ui.py')
-rw-r--r-- | ui.py | 35 |
1 files changed, 16 insertions, 19 deletions
@@ -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 |