Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 41b63f1

Browse filesBrowse files
committed
added colors for columns and new screen shot
1 parent ad7c6f9 commit 41b63f1
Copy full SHA for 41b63f1

File tree

2 files changed

+6
-0
lines changed
Filter options

2 files changed

+6
-0
lines changed

‎assets/demo.png

Copy file name to clipboard
19.7 KB
Loading

‎utils/types.cpp

Copy file name to clipboardExpand all lines: utils/types.cpp
+6
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ void print_files(const std::vector<File>& files) {
211211
}
212212
}
213213

214+
// Set colors
215+
file.set_size(green(file.get_size()));
216+
file.set_group(yellow(file.get_group()));
217+
file.set_user(yellow(file.get_user()));
218+
file.set_modified(light_blue(file.get_modified()));
219+
214220
std::cout << perm_denote + file.get_perms() << ' ';
215221
std::cout << file.get_size() << ' ';
216222
std::cout << file.get_group() << ' ';

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.