Minor, rename internal functions/variables screen_* -> tt*

- Shorter
 - Follows old UNIX tradition
 - Lines up with next commit

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-04-07 10:06:01 +02:00
1 parent 7bc1470a1e
commit 522276b80d
7 files changed
+45 -40

No files matched your search

+2 -2
View File
@@ -89,8 +89,8 @@ static void do_list(const char *path)
if (width <= 0)
goto done;
num = (screen_cols - 2) / width;
if ((num - 1) * 2 + num * width > screen_cols)
num = (ttcols - 2) / width;
if ((num - 1) * 2 + num * width > ttcols)
num--;
prev = 0;