mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-17 20:53:02 +00:00
Fix persist for Mac
This commit is contained in:
parent
5b23e29beb
commit
b6573b00e6
@ -1049,8 +1049,12 @@ Gnuplot& Gnuplot::set_smooth(const std::string &stylestr)
|
||||
//
|
||||
Gnuplot& Gnuplot::showonscreen()
|
||||
{
|
||||
std::string persist(" persist");
|
||||
#ifdef __APPLE__
|
||||
persist = "";
|
||||
#endif
|
||||
cmd("set output");
|
||||
cmd("set terminal " + Gnuplot::terminal_std + " persist");
|
||||
cmd("set terminal " + Gnuplot::terminal_std + persist);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user