robhagemans / pcbasic

PC-BASIC - A free, cross-platform emulator for the GW-BASIC family of interpreters
http://www.pc-basic.org
Other
393 stars 48 forks source link

Line feed Ctrl+J does not get read correctly in interactive mode #196

Closed robhagemans closed 2 years ago

robhagemans commented 2 years ago

Line feed Ctrl+J does not get read correctly in interactive mode

Steps (example 1)

  1. INPUT A$
  2. type test Ctrl+J test2 Enter

GW-BASIC: A$ = "test" chr$(10) "test2" PC-BASIC: a$ = "test"

Steps (example 2)

  1. 10 REM continuing Ctrl+J line
  2. LIST

GW-BASIC:

10 REM continuing
line

(this is a wrapped logical line) PC-BASIC:

10 REM continuingline
robhagemans commented 2 years ago

Fixed by 93edad4