summaryrefslogtreecommitdiffstats
path: root/source/y/bsd-games/patches/0002-robots-Refresh-screen.patch
blob: ec588dd80ddc27bdf5dc893442e9b18bb09880b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Tobias Quathamer <toddy@debian.org>
Date: Thu, 16 Feb 2012 11:26:49 +0100
Subject: robots: Refresh screen

---
 robots/move.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/robots/move.c b/robots/move.c
index 7edaae3..b2703c5 100644
--- a/robots/move.c
+++ b/robots/move.c
@@ -185,6 +185,7 @@ teleport:
 			flush_in();
 			goto ret;
 		  case CTRL('L'):
+			redrawwin(curscr);
 			refresh();
 			break;
 		  case EOF: