Skip to content
Snippets Groups Projects
Commit ce044028 authored by mcmlxxix's avatar mcmlxxix
Browse files

force shell to fit within current screen rows/columns, overriding saved settings

parent ababc83b
No related branches found
No related tags found
No related merge requests found
...@@ -347,8 +347,6 @@ function Settings(list) ...@@ -347,8 +347,6 @@ function Settings(list)
this.main_hkey_color=YELLOW; this.main_hkey_color=YELLOW;
this.main_text_color=BLACK; this.main_text_color=BLACK;
this.main_height=screen_rows-2;
this.main_width=screen_columns-20;
this.menu_fg=LIGHTGRAY; this.menu_fg=LIGHTGRAY;
this.menu_bg=BLACK; this.menu_bg=BLACK;
...@@ -366,6 +364,9 @@ function Settings(list) ...@@ -366,6 +364,9 @@ function Settings(list)
for(var s in list) { for(var s in list) {
this[s]=list[s]; this[s]=list[s];
} }
this.main_height=console.screen_rows-2;
this.main_width=console.screen_columns-20;
} }
function Favorites(list) function Favorites(list)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment