aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-05-08 05:31:43 -0400
committerJesse Luehrs <doy@tozt.net>2014-05-08 05:31:43 -0400
commit1638a5e8a90f0f0a6d46cdf3ff9f2393c45c248a (patch)
tree880e1fed8f48ccfd5fdb383e0990355e0b755fd0 /src/screen.c
parent26e1ede47e62fe80c8b899847e5205cd60f130a9 (diff)
downloadrunes-1638a5e8a90f0f0a6d46cdf3ff9f2393c45c248a.tar.gz
runes-1638a5e8a90f0f0a6d46cdf3ff9f2393c45c248a.zip
abstract out error logging a bit
just spitting things to stderr isn't always going to be good enough, so let's at least provide one place to change that when necessary
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 57b536d..a9ffb3e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -446,7 +446,7 @@ void runes_screen_set_scroll_region(
RunesScreen *scr = &t->scr;
if (left > 0 || right < scr->grid->max.col - 1) {
- fprintf(stderr, "vertical scroll regions not yet implemented\n");
+ runes_warn("vertical scroll regions not yet implemented\n");
}
if (top > bottom) {