summaryrefslogtreecommitdiff
path: root/src/gui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.rs')
-rw-r--r--src/gui.rs19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/gui.rs b/src/gui.rs
index 3a828b6..e8f255f 100644
--- a/src/gui.rs
+++ b/src/gui.rs
@@ -1,3 +1,20 @@
+/*
+ This file is part of Takwrap.
+
+ Takwrap is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ Foobar is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Foobar. If not, see <https://www.gnu.org/licenses/>.
+*/
+
extern crate pancurses;
pub use pancurses::Input::*;
@@ -770,7 +787,7 @@ impl GUI {
return false;
} else {
self.message_log.log_error(format!(
- "Cannot perform \"{}\": p{}",
+ "Cannot perform \"{}\": {}",
act_string, e
));
}