debugging
This commit is contained in:
parent
c619cc2cb9
commit
b4135f04f1
3 changed files with 13 additions and 10 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include "flayer.h"
|
||||
#include "samterm.h"
|
||||
|
||||
int protodebug;
|
||||
int cursorfd;
|
||||
int plumbfd = -1;
|
||||
int input;
|
||||
|
|
@ -126,12 +127,12 @@ again:
|
|||
if(block & (1<<RResize))
|
||||
alts[RResize].op = CHANNOP;
|
||||
|
||||
if(0) print("waitforio %c%c%c%c%c\n",
|
||||
"h-"[alts[RHost].op == CHANNOP],
|
||||
"k-"[alts[RKeyboard].op == CHANNOP],
|
||||
"m-"[alts[RMouse].op == CHANNOP],
|
||||
"p-"[alts[RPlumb].op == CHANNOP],
|
||||
"R-"[alts[RResize].op == CHANNOP]);
|
||||
if(protodebug) print("waitforio %c%c%c%c%c\n",
|
||||
"h-"[alts[RHost].op == CHANNOP],
|
||||
"k-"[alts[RKeyboard].op == CHANNOP],
|
||||
"m-"[alts[RMouse].op == CHANNOP],
|
||||
"p-"[alts[RPlumb].op == CHANNOP],
|
||||
"R-"[alts[RResize].op == CHANNOP]);
|
||||
|
||||
alts[NRes].op = CHANEND;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue