mirror of https://github.com/nicolargo/glances
Update screenshot
parent
1d276d1f2a
commit
5a05a7db57
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 82 KiB |
|
@ -516,7 +516,7 @@ class glancesScreen():
|
||||||
screen_y = self.screen.getmaxyx()[0]
|
screen_y = self.screen.getmaxyx()[0]
|
||||||
if ((screen_y > self.host_y)
|
if ((screen_y > self.host_y)
|
||||||
and (screen_x > self.host_x+79)):
|
and (screen_x > self.host_x+79)):
|
||||||
host_msg = "Glances v"+self.__version+" running on "+host['hostname']+" "+str(self.pressedkey)
|
host_msg = "Glances v"+self.__version+" running on "+host['hostname'] # +" "+str(self.pressedkey)
|
||||||
self.term_window.addnstr(self.host_y, self.host_x+int(screen_x/2)-len(host_msg)/2, host_msg, 80, self.title_color if self.hascolors else 0)
|
self.term_window.addnstr(self.host_y, self.host_x+int(screen_x/2)-len(host_msg)/2, host_msg, 80, self.title_color if self.hascolors else 0)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue