Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2183 closed bug (duplicate)

GHCi

Reported by: iago Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.8.2
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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
2

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

Prelude>
Prelude>

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 follow-up: Changed 6 years ago by judah

  • Resolution set to duplicate
  • Status changed from new to closed

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

comment:2 in reply to: ↑ 1 Changed 6 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.