Permalink
Browse files

Make double escape behave like escape

svn path=/trunk/mono-curses/; revision=147762
  • Loading branch information...
1 parent 1c9c544 commit f022efea757ac8a27608d558e2a84d70a6da07e9 @migueldeicaza migueldeicaza committed Dec 7, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 gui.cs
View
4 gui.cs
@@ -2671,9 +2671,9 @@ static public void Run (Container container)
}
if (ch == 27){
- Curses.timeout (0);
+ Curses.timeout (100);
int k = Curses.getch ();
- if (k != Curses.ERR)
+ if (k != Curses.ERR && k != 27)
ch = Curses.KeyAlt | k;
Curses.timeout (Timeout);
}

0 comments on commit f022efe

Please sign in to comment.