Skip to content

Commit

Permalink
ldc2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
al1-ce committed Feb 16, 2023
1 parent 5f3128b commit 90299d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/sily/terminal/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ version (Posix) {

/* ---------------------------------- MISC ---------------------------------- */
import core.sys.posix.unistd: posixIsATTY = isatty;
import std.stdio: File;
// import std.stdio: File;
import core.stdc.stdio: FILE, cfileno = fileno;
import core.stdc.errno;

Expand All @@ -134,7 +134,7 @@ version (Posix) {

/* -------------------------- Terminal Capabilities --------------------------- */

import std.stdio: File;
// import std.stdio: File;
import std.file: readText;

// TODO: read termcap and put it into struct
Expand Down
2 changes: 1 addition & 1 deletion test/termio
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void main() {
mods ~= e.hasMod(Mod.c) ? "^" : "";
mods ~= e.hasMod(Mod.s) ? "+" : "";
mods ~= e.hasMod(Mod.a) ? "!" : "";
writef("%s%s\n\r", mods, e.key);
writef("%s%s\n\r", mods, e.key);
}
}

Expand Down

0 comments on commit 90299d4

Please sign in to comment.