Issue 346: Basic support for multi-line text with bitmap fonts: use alt-enter to type carriage returns (like Excel)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1737 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -509,7 +509,7 @@ byte Readline_ex(word x_pos,word y_pos,char * str,byte visible_size,byte max_siz
|
||||
switch(input_type)
|
||||
{
|
||||
case INPUT_TYPE_STRING :
|
||||
if (input_key>=' ' && input_key<= 255)
|
||||
if ((input_key>=' ' && input_key<= 255)||input_key=='\n')
|
||||
is_authorized=1;
|
||||
break;
|
||||
case INPUT_TYPE_INTEGER :
|
||||
|
||||
Reference in New Issue
Block a user