Delete buffer.py

This commit is contained in:
Madeleine 2022-03-19 15:14:54 +00:00 committed by GitHub
parent 67362b7402
commit 543f010470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +0,0 @@
import curses
def write_buffer(screen, data):
for index, line in enumerate(data["buffer_list"][data["visible_y"]:]):
if index < data["height"] - 2:
str_line = "".join(line)
# [data["visible_x"]:1:data["width"] - data["visible_x"]]
screen.addstr(index, len(data["info_bar"][0]), str_line + (" " * (len(line) - 1)), curses.color_pair(1))