bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] Unexpected ^@ in input


From: Zoltan Kovacs
Subject: [Bug-readline] Unexpected ^@ in input
Date: Sun, 26 Apr 2009 21:20:44 +0200

Hi,

I'm using libreadline in my project. The underlying terminal driver
that readline uses is also my own implementation.

My problem is that when I type a few characters (e.g. 'hello') and I
press the left arrow key twice, then I should insert the next
character right after 'hel'. This is what I'm expecting, but the
result will be 'address@hidden' after pressing the 'a' key. Not to mention
that the returned line by the readline() call will be 'hela' only, the
remaining will be truncated.

What did I do wrong? Is this a problem on my side or this is a readline issue?

Thanks,
Zoltan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]