Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bug when using _Dest _Console
#13
(09-14-2022, 04:06 PM)Spriggsy Wrote: Just thought I'd add this.... You don't need _DEST _CONSOLE or _SOURCE _CONSOLE in $CONSOLE:ONLY since those are both automatically set when using $CONSOLE:ONLY. I made this change to the code maybe a year ago.
Still, the example @Jack is displaying is a bug which is embarrassing. This printing error could rear its ugly face somewhere else. Some people are dedicated to breaking stuff and to doing bizarre things only to report a bug. Such as the Linux distro-hoppers because they would never give up MacOS or Windows.

This is interesting, from the long and complicated "qbs_input()" within "libqb.cpp":
Code: (Select All)
if (write_page->console) {
            qbs_set(key, qbs_new_txt(""));
            chr = fgetc(stdin);
            if (chr != EOF) {
                if (chr == '\n')
                    chr = 13;
                qbs_set(key, qbs_new_txt(" "));
                key->chr[0] = chr;
            } else {
                Sleep(10);
            }
        } else {
            Sleep(10);
            qbs_set(key, qbs_inkey());
        }
Look at that "qbs_set()" statement not near this line. Is that what is adding that funny space?
Reply


Messages In This Thread
bug when using _Dest _Console - by Jack - 09-13-2022, 10:18 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-13-2022, 10:51 PM
RE: bug when using _Dest _Console - by bplus - 09-14-2022, 12:31 AM
RE: bug when using _Dest _Console - by Jack - 09-14-2022, 12:34 AM
RE: bug when using _Dest _Console - by bplus - 09-14-2022, 12:43 AM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 03:43 AM
RE: bug when using _Dest _Console - by Jack - 09-14-2022, 04:30 AM
RE: bug when using _Dest _Console - by Pete - 09-14-2022, 05:24 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 04:42 AM
RE: bug when using _Dest _Console - by bplus - 09-14-2022, 02:09 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 03:27 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 04:40 PM
RE: bug when using _Dest _Console - by Pete - 09-14-2022, 04:14 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 06:52 PM
RE: bug when using _Dest _Console - by bplus - 09-14-2022, 07:07 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 07:38 PM
RE: bug when using _Dest _Console - by Pete - 09-14-2022, 07:53 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-16-2022, 08:45 PM
RE: bug when using _Dest _Console - by Pete - 09-16-2022, 09:11 PM
RE: bug when using _Dest _Console - by Pete - 09-20-2022, 08:12 PM



Users browsing this thread: 5 Guest(s)