Changes

Jump to: navigation, search

OOP344 Assignment One

No change in size, 13:07, 5 October 2009
m
Line Editor: int io_edit(........)
The function returns an int identifying the key that was pressed to exit. (This function uses the same key codes as io_getch())
The function takes no action if the user tries to enter too many characters (if, for example, the string is full in insert mode, or the cursor is positioned after the last character of a full string in overstrike mode). However if curser cursor reaches the end of the field and the string is not full then after inserting the character string will be scrolled to left, positioning the curser cursor right after the last character in the string.
The function handles at least the following special keys:
1
edit

Navigation menu