summaryrefslogtreecommitdiff
path: root/src/gui.rs
diff options
context:
space:
mode:
authortslil clingman <>2020-02-15 16:31:05 -0800
committertslil clingman <>2020-02-15 16:31:05 -0800
commitc3eb17c95c990fa2c9d48963969b17c59ca2027b (patch)
tree613b0891d3f15c5323c331712f8c1570f65ff165 /src/gui.rs
parent15f64980573085e9ab6a9d47fc2a6e8092d6d109 (diff)
Preparing for releasegui_input_maybe
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
));
}