paravantis
27-08-2024, 22:24
I use a code snippet like
' Get cursor position before input
y1=Console_GetCursorY
' Unfortunately Console_Readline advances a line ...
lineRead=Console_ReadLine()
' ... so set cursor position up a line, right below the input
Console_CursorPos(1,y1+2)
if I want to avoid leaving an empty line below the Console_ReadLine() command.
Is there an easier way? Am I missing something?
' Get cursor position before input
y1=Console_GetCursorY
' Unfortunately Console_Readline advances a line ...
lineRead=Console_ReadLine()
' ... so set cursor position up a line, right below the input
Console_CursorPos(1,y1+2)
if I want to avoid leaving an empty line below the Console_ReadLine() command.
Is there an easier way? Am I missing something?