kevinlawler / kona

Open-source implementation of the K programming language
ISC License
1.36k stars 138 forks source link

After sub-level command, "clear" results in reprint of original error line #565

Closed tavmem closed 4 years ago

tavmem commented 4 years ago
K 2.8 2000-10-10 Copyright (C) 1993-2000 Kx Systems 
\ for help. \\ to exit.

  4 # 3 + "x"
type error
4 # 3 + "x"
      ^
>  2+2
4
>  \
$ rlwrap -n ./k
kona      \ for help. \\ to exit.

  4 # 3 + "x"
type error
4 # 3 + "x"
      ^
>  2+2
4
>  \
4 # 3 + "x"