Geant4-11
Functions
pyG4UIterminal Namespace Reference

Functions

void StartUISession ()
 

Function Documentation

◆ StartUISession()

void pyG4UIterminal::StartUISession ( )

Definition at line 45 of file pyG4UIterminal.cc.

47{
48 if (session == 0 ) {
49 G4UItcsh* tcsh= new
50 G4UItcsh("␛[40;01;33mg4py␛[40;31m(%s)␛[40;36m[%/]␛[00;30m:");
51
52#if G4VERSION_NUMBER >= 900
53 session= new G4UIterminal(tcsh, false);
54#else
55 session= new G4UIterminal(tcsh);
56#endif
57 tcsh-> SetLsColor(BLUE,RED);
58 }
59
60 session-> SessionStart();
61}
@ BLUE
Definition: G4VUIshell.hh:54
@ RED
Definition: G4VUIshell.hh:53

References BLUE, and RED.

Referenced by export_G4UIterminal().