Skip to content

Commit 7fbc0c3

Browse files
author
Ethan Lee
committed
Fix notice screen
Signed-off-by: Ethan Lee <[email protected]>
1 parent 1ac65fd commit 7fbc0c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/fosslight_binary/cli.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@
1414
_PKG_NAME = "fosslight_binary"
1515

1616

17-
def get_terminal_size():
17+
def get_terminal_size():
1818
size = shutil.get_terminal_size()
1919
return size.lines
2020

2121

22-
def paginate_file(file_path): #, lines_per_page=25):
22+
def paginate_file(file_path):
2323
lines_per_page = get_terminal_size() - 1
2424
with open(file_path, 'r') as file:
2525
lines = file.readlines()
26-
26+
2727
for i in range(0, len(lines), lines_per_page):
2828
os.system('clear' if os.name == 'posix' else 'cls')
2929
print(''.join(lines[i: i + lines_per_page]))
3030
if i + lines_per_page < len(lines):
3131
input("Press Enter to see the next page...")
32-
33-
32+
33+
3434
def main():
3535
global windows
3636
path_to_find_bin = ""

0 commit comments

Comments
 (0)