shithub: riscv

Download patch

ref: f97c0fc1c9f1688de68d93ac188ac07997f3f15c
parent: 8243c0e80bdcc6ac6afd906095e23490815af2c4
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sun Sep 11 22:01:54 EDT 2011

npage: remove debug shortcut

--- a/sys/src/cmd/npage.c
+++ b/sys/src/cmd/npage.c
@@ -1134,13 +1134,6 @@
 			case Kdel:
 			case Keof:
 				exits(0);
-			case 'd':
-				qlock(current);
-				lockdisplay(display);
-				translate(current, Pt(-1, -1));
-				unlockdisplay(display);
-				qunlock(current);
-				break;
 			case Kup:
 				if(current == nil || !canqlock(current))
 					break;