mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 02:25:40 +00:00
handle 'enter' when typing in the terminal
svn path=/trunk/gtk-sharp/; revision=22748
This commit is contained in:
parent
75f7d1226d
commit
f9026e2b5b
|
@ -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