Skip to content

Commit 018751f

Browse files
committed
Update table of command list to support multiple terminals
1 parent 990ebf4 commit 018751f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keep/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import time
1010
import click
1111
import requests
12-
from terminaltables import SingleTable
12+
from terminaltables import AsciiTable
1313
from textwrap import wrap
1414

1515
from keep import about
@@ -62,7 +62,7 @@ def list_commands(ctx):
6262
for cmd, fields in commands.items():
6363
table_data.append(['$ ' + cmd, fields['desc'], fields['alias']])
6464

65-
table = SingleTable(table_data)
65+
table = AsciiTable(table_data)
6666
max_widths = [table.column_max_width(0), table.column_max_width(1)]
6767

6868
for i in range(len(table_data) - 1):

0 commit comments

Comments
 (0)