Home | History | Annotate | Line # | Download | only in tests
      1  1.1  blymn include start
      2  1.1  blymn # setting noecho stops getch setting cbreak itself so we should need
      3  1.1  blymn # a newline before getch returns, check this works first.
      4  1.1  blymn call OK noecho
      5  1.1  blymn input "abcd\n"
      6  1.1  blymn call 0x61 getch
      7  1.1  blymn noinput
      8  1.1  blymn call 0x62 getch
      9  1.1  blymn noinput
     10  1.1  blymn call 0x63 getch
     11  1.1  blymn noinput
     12  1.1  blymn call 0x64 getch
     13  1.1  blymn noinput
     14  1.1  blymn call 0x0a getch
     15  1.1  blymn # set cbreak, getch should return without needing a newline
     16  1.1  blymn input "ef"
     17  1.1  blymn call OK cbreak
     18  1.1  blymn call 0x65 getch
     19