libraries/lineeditor/src/line_editor.cpp
changeset 56 9c352d34f5aa
parent 0 7f656887cf89
equal deleted inserted replaced
53:17466b56148d 56:9c352d34f5aa
    32 //
    32 //
    33 
    33 
    34 RConsole::RConsole(MAbstractConsoleWriter& aStdout)
    34 RConsole::RConsole(MAbstractConsoleWriter& aStdout)
    35 	: iStdout(aStdout), iCursorPos(TPoint(0, 0)), iCursorMode(EInsert), iCursorVisible(EFalse)
    35 	: iStdout(aStdout), iCursorPos(TPoint(0, 0)), iCursorMode(EInsert), iCursorVisible(EFalse)
    36 	{
    36 	{
    37 	iStdout.GetScreenSize(iSize);
    37 	// Calling these here cause fshell to deadlock if being launched within a "pcons start fshell".
    38 	SetCursorVisible(ETrue);
    38 	// Doesn't appear to cause any problems removing them, as Start()/Refresh() get called shortly after.
       
    39 	//iStdout.GetScreenSize(iSize);
       
    40 	//SetCursorVisible(ETrue);
    39 	}
    41 	}
    40 
    42 
    41 void RConsole::Close()
    43 void RConsole::Close()
    42 	{
    44 	{
    43 	iScrollObservers.Close();
    45 	iScrollObservers.Close();