From 585e3727d8d97c00aabf42d95ab78dd392e096b7 Mon Sep 17 00:00:00 2001 From: "H. S. Teoh" Date: Tue, 3 Jun 2014 07:12:30 -0700 Subject: [PATCH] Fix compile error with git HEAD. --- terminal.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.d b/terminal.d index 76d744a..42438e3 100644 --- a/terminal.d +++ b/terminal.d @@ -1339,7 +1339,7 @@ struct RealTimeConsoleInput { import std.utf; size_t throwAway; // it insists on the index but we don't care - return decode(buffer, throwAway); + return decode(buffer[], throwAway); } InputEvent checkWindowSizeChanged() {