[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Feb 9 01:38:17 1996 
Subject:Re: Help! Controlling ved with ml 
From:A . Sloman 
Volume-ID:960209.02 

> I'm trying to write a getline procedure in ml(!) that works inside a ved
> window.  I'm reading in characters with vedinascii and displaying them with
> vedinsertstring.

You can use

	vedcharinsert(char).

> However when the user presses the space bar that space
> character is not displayed until another character is pressed.

This is to do with VED's optimisation of screen displays. After
inserting each character, invoke

	vedsetcursor();

if you wish to ensure that the VED cursor is in the right location, i.e.
to the right of the space.

After inserting the final character you may have to invoke
	vedscr_flush_output();

to ensure that it is displayed immediately. (You don't need to do it
before calling vedinascii() )
Aaron