-
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
component: UIIssues related to changing UIIssues related to changing UIgood first issueGood for newcomersGood for newcomerspriority: highIssues with high priority, should addressed sooner than anything elseIssues with high priority, should addressed sooner than anything elseresolution: doneIssues that we solved successfullyIssues that we solved successfullytype: bugSomething isn't workingSomething isn't working
Description
The entire layout just goes horribly wrong.
Solution:
- Check that the file is binary.
- Don't call
batif the file is binary (happens here)Lines 32 to 37 in b2c44c1
let read_file_contents path = let cmd = "bat --style=numbers,changes --color=always --italic-text=always \ --paging=never --terminal-width=80 " ^ path in let contents = Shell.proc_stdout cmd in
- Instead, display some standard text saying that the file is binary
- Additionally, use the
eae8icon for the file icon when the file is binary
Metadata
Metadata
Assignees
Labels
component: UIIssues related to changing UIIssues related to changing UIgood first issueGood for newcomersGood for newcomerspriority: highIssues with high priority, should addressed sooner than anything elseIssues with high priority, should addressed sooner than anything elseresolution: doneIssues that we solved successfullyIssues that we solved successfullytype: bugSomething isn't workingSomething isn't working

