Merge pull request #498 from Unroll-Me/master
[mono.git] / mcs / tools / csharp / getline.cs
index e8b9783e614a81a6a167cdd44bb559a5974bc8a0..b6dcf0759b66fdca59df0a2da54b94235f669be6 100644 (file)
@@ -869,6 +869,13 @@ namespace Mono.Terminal {
 
                        return result;
                }
+               
+               public void SaveHistory ()
+               {
+                       if (history != null) {
+                               history.Close ();
+                       }
+               }
 
                public bool TabAtStartCompletes { get; set; }