Opened 8 years ago
Closed 6 years ago
#6405 closed task (fixed)
What can we use for pause.
Reported by: | Kurt Schwehr | Owned by: | Kurt Schwehr |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
I'd like to totally get rid of CPLReadLine now that we have CPLReadLineL. What is the best way to implement pause in a cross platform manner? How about cin >> osString; or std::cin.get();?
/* -------------------------------------------------------------------- */ /* --pause */ /* -------------------------------------------------------------------- */ else if( EQUAL(papszArgv[iArg],"--pause") ) { printf( "Hit <ENTER> to Continue.\n" ); CPLReadLine( stdin ); }
Change History (3)
comment:1 by , 8 years ago
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
r33693 seems to work and there haven't been any complaints in more than a year. Closing
Note:
See TracTickets
for help on using tickets.
r33693 using std::cin