Thread overview
[Issue 2413] New: getche differs from getch unexpectedly
Oct 10, 2008
d-bugmail
May 25, 2011
Andrej Mitrovic
May 25, 2011
Andrej Mitrovic
October 10, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2413

           Summary: getche differs from getch unexpectedly
           Product: D
           Version: 1.032
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: jason@spashett.com


calling std.stdio.getch returns a character from the keyboard when pressed.

calling std.stdio.getche only returns a character from the keyboard after the enter key is pressed.

Given the naming convention I was not expecting this.


-- 

May 25, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=2413


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich@gmail.com
         Resolution|                            |INVALID


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-05-24 22:32:04 PDT ---
These symbols don't exist anymore. They were probably C functions anyway. RTFM! :)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 25, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=2413


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-05-25 07:20:24 PDT ---
Fixing my closing mistakes. Sorry for the noise.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------