diff options
author | bptato <nincsnevem662@gmail.com> | 2021-08-06 18:35:39 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-08-06 18:35:39 +0200 |
commit | da1f249117ad2a6f02c1ac32208d6ece95508505 (patch) | |
tree | b879b5bc256bc3cb3604fecfefd254c38ed62fc6 /src/main.nim | |
parent | d4fe6539be7d2083260ba9deb012b2db59a121bd (diff) | |
download | chawan-da1f249117ad2a6f02c1ac32208d6ece95508505.tar.gz |
Refactoring in buffer.nim
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.nim b/src/main.nim index 198eedb8..eaed73ed 100644 --- a/src/main.nim +++ b/src/main.nim @@ -5,7 +5,6 @@ import streams import utils/eprint -import html/dom import html/htmlparser import io/buffer @@ -52,7 +51,7 @@ proc main*() = buffer.renderPlainText(getPageUri(uri).readAll()) var lastUri = uri while displayPage(attrs, buffer): - statusMsg("Loading...", buffer.height) + buffer.setStatusMessage("Loading...") var newUri = buffer.location lastUri.anchor = "" newUri.anchor = "" |