diff options
| author | Aram Drevekenin <aram@poor.dev> | 2020-11-01 11:42:18 +0100 |
|---|---|---|
| committer | Aram Drevekenin <aram@poor.dev> | 2020-11-01 11:42:18 +0100 |
| commit | ba2fd9f782d3d4f00588ea923ebce2dff40f9aaf (patch) | |
| tree | f858a5cb95c20dd8c8e0f7cf217d267b10766dc9 /src/os_input_output.rs | |
| parent | refactor(terminal-pane): simplify pending styles (diff) | |
| download | sl0ppij-ba2fd9f782d3d4f00588ea923ebce2dff40f9aaf.tar.gz sl0ppij-ba2fd9f782d3d4f00588ea923ebce2dff40f9aaf.tar.xz sl0ppij-ba2fd9f782d3d4f00588ea923ebce2dff40f9aaf.zip | |
refactor(structure): separate all the things
Diffstat (limited to 'src/os_input_output.rs')
| -rw-r--r-- | src/os_input_output.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_input_output.rs b/src/os_input_output.rs index 1d2d9547..04a5263c 100644 --- a/src/os_input_output.rs +++ b/src/os_input_output.rs @@ -57,7 +57,7 @@ pub fn set_terminal_size_using_fd(fd: RawFd, columns: u16, rows: u16) { unsafe { ioctl(fd, TIOCSWINSZ.into(), &winsize) }; } -fn debug_log_to_file (message: String) { +fn _debug_log_to_file (message: String) { use std::fs::OpenOptions; use std::io::prelude::*; let mut file = OpenOptions::new().append(true).create(true).open("/tmp/mosaic-log.txt").unwrap(); |
