Chhit

Table of contents

  1. get @chhit

get @chhit

Get a key from the input keyboard buffer and return the character of it. If no key is found return -1.

set "lastchar=!@chhit!"
if "!lastchar!" == "-1" echo No pressed key