aboutsummaryrefslogtreecommitdiff
path: root/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'ui.py')
-rw-r--r--ui.py35
1 files changed, 16 insertions, 19 deletions
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