aboutsummaryrefslogtreecommitdiff
path: root/cs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-17 22:23:07 -0500
committerJoel Martin <github@martintribe.org>2014-04-17 22:23:07 -0500
commit718887c3019c49fc807bc18fbd5feb975ec03c85 (patch)
tree8b0d1d2e501541c015e66f4cde0510bdd94db195 /cs
parentdb4c329aff4621e05b92a55be4f18173f5a4f655 (diff)
downloadmal-718887c3019c49fc807bc18fbd5feb975ec03c85.tar.gz
mal-718887c3019c49fc807bc18fbd5feb975ec03c85.zip
Ruby,Python,C#: readline history fixes. Ruby include path.
Diffstat (limited to 'cs')
-rw-r--r--cs/getline.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/cs/getline.cs b/cs/getline.cs
index b6dcf07..c11a11d 100644
--- a/cs/getline.cs
+++ b/cs/getline.cs
@@ -895,8 +895,9 @@ namespace Mono.Terminal {
throw new ArgumentException ("size");
if (app != null){
- string dir = Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData);
+ string dir = Environment.GetFolderPath (Environment.SpecialFolder.Personal);
//Console.WriteLine (dir);
+ /*
if (!Directory.Exists (dir)){
try {
Directory.CreateDirectory (dir);
@@ -906,6 +907,8 @@ namespace Mono.Terminal {
}
if (app != null)
histfile = Path.Combine (dir, app) + ".history";
+ */
+ histfile = Path.Combine (dir, ".mal-history");
}
history = new string [size];