Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2183 closed bug (duplicate)


Reported by: iago Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.8.2
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


First of all, excuse me for my poor English.

The command history doesn't work correctly, it remembers any thing that you enter to the prompt, for example, it remembers an empty line like a command.

Prelude> 1+1

Now if you press up-arrow GHCi remembers the last statement: 1+1. OK but if you enter an empty line...


If you press up-arrow now, GHCi remembers the empty line, and not the correct last expression (1+1). You have to press the up-arrow key again to obtain the correct last expression 1+1.

I have installed the GHC 6.8.2 Debian Sid package.

Change History (2)

comment:1 Changed 10 years ago by judah

Resolution: duplicate
Status: newclosed

Thanks for the report. This has been fixed for 6.8.3 as #2073.

comment:2 in reply to:  1 Changed 10 years ago by iago

Replying to judah:

Thanks for the report. This has been fixed for 6.8.3 as #2073.

Sorry, I looked for another bug report, but I forgot to select the option to filter closed reports. And sorry for the stupid title "GHCi" too, I used Preview button but I only see it when I submit the report ;/

Note: See TracTickets for help on using tickets.