vis: fix command malfunction triggered by special cursor position
commite0b1a90ea831c4ebc184c3636ae9494a7675d82b
authorCasper Ti. Vector <CasperVector@gmail.com>
Wed, 3 Jan 2018 12:31:43 +0000 (3 13:31 +0100)
committerMarc André Tanner <mat@brain-dump.org>
Wed, 3 Jan 2018 12:42:19 +0000 (3 13:42 +0100)
tree48292ceb1b81d9435c20edfab343deeb38f19fb6
parent4af2de4fb0483d388c7a6e3d43d8a5b8bf78042e
vis: fix command malfunction triggered by special cursor position

At the command prompt, commands were not recognized properly when the
cursor was placed on a delimiting character (:, ?, /) while pressing
enter.

Fix #653
vis-prompt.c