help

Hi,
  I have one problem with grass library function "R_get_location_with_point()". When I interrupt the program, which is waiting the mouse button by this
function, by Ctr-C or C function "exit()", it still wait the mouse button to
click. Otherwise no command(such as "d.frame -e") can be executed. Is there
anyone knowing why? Thank you!

greg