List Info

Thread: Console application reads deleted characters




Console application reads deleted characters
user name
2007-02-17 01:48:23
Hi.
 
I wrote a simple console application. It will read lines and put to an string array.
 
But, in terminal window, if you delete some characters by pressing backspace, Console.ReadLine() returns these deleted characters too.
 
Sample:
you write "kadri ma"
ma is wrong, delete these characters pressing backspace twice..
And continue typing "kalemci"
in the terminal you see "kadri kalemci"
but ReadLine() returns kadri makalemci"
 
Whats the problem? How can I solve it?
 
Re: Console application reads deleted characters
user name
2007-02-17 05:55:08
Hello kadri.

I have tested it and works fine for me with mono 1.2.3 from binary installer in fedora core 3 and 6.
If you are not using mono from version 1.2.3 it may be a bug that is already fixed, so you must upgrade.

Anyway you should provide your test code, your current mono version and your distro if you want more help.

(sorry for the duplicate mail)

2007/2/17, Kadri Kalemci < kadrikalemcigmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> kadrikalemcigmail.com>:
Hi.
 
I wrote a simple console application. It will read lines and put to an string array.
 
But, in terminal window, if you delete some characters by pressing backspace, Console.ReadLine() returns these deleted characters too.
&nbsp;
Sample:
you write "kadri ma"
ma is wrong, delete these characters pressing backspace twice..
And continue typing "kalemci"
in the terminal you see "kadri kalemci&quot;
but ReadLine() returns kadri makalemci&quot;
&nbsp;
Whats the problem? How can I solve it?
&nbsp;

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list




--
-- Saludos --
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )