handle 'enter' when typing in the terminal
svn path=/trunk/gtk-sharp/; revision=22748
This commit is contained in:
parent
75f7d1226d
commit
f9026e2b5b
1 changed files with 7 additions and 0 deletions
|
@ -62,6 +62,13 @@ class T
|
|||
private void OnCommit (object o, VteSharp.CommitArgs args)
|
||||
{
|
||||
Terminal term = (Terminal) o;
|
||||
if (args.P0 == "\r")
|
||||
{
|
||||
//FIXME: maybe a setting somewhere
|
||||
term.Feed ("\r\n");
|
||||
return;
|
||||
}
|
||||
|
||||
term.Feed (args.P0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue