mirror of https://github.com/aristocratos/btop.git
Removed bad code
This commit is contained in:
parent
496283ea1a
commit
1e374b1ede
|
@ -46,7 +46,6 @@ namespace Term {
|
|||
atomic<int> width = 0;
|
||||
atomic<int> height = 0;
|
||||
string current_tty;
|
||||
char* custombuf;
|
||||
|
||||
namespace {
|
||||
struct termios initial_settings;
|
||||
|
@ -122,9 +121,6 @@ namespace Term {
|
|||
linebuffered(false);
|
||||
refresh();
|
||||
|
||||
//? Set 1MB buffer for cout
|
||||
std::cout.rdbuf()->pubsetbuf(custombuf, 1048576);
|
||||
|
||||
cout << alt_screen << hide_cursor << mouse_on << flush;
|
||||
Global::resized = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue