diff --git a/content/ui.js b/content/ui.js index b687e4b2..f73d6316 100644 --- a/content/ui.js +++ b/content/ui.js @@ -1069,6 +1069,16 @@ function StatusLine() //{{{ status_bar.setAttribute("class", "chromeclass-status " + highlight_group); }; + // update all fields of the statusline + this.update = function() + { + this.updateUrl(); + this.updateInputBuffer(); + this.updateProgress(); + this.updateTabCount(); + this.updateBufferPosition(); + } + // if "url" is ommited, build a usable string for the URL this.updateUrl = function(url) { diff --git a/content/vimperator.js b/content/vimperator.js index c2f623b4..e7e98a12 100644 --- a/content/vimperator.js +++ b/content/vimperator.js @@ -870,6 +870,7 @@ const vimperator = (function() //{{{ } }, 50); + vimperator.statusline.update(); vimperator.log("Vimperator fully initialized", 1); },