diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-28 21:19:21 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-28 21:23:26 +0100 |
commit | d91d1dda2ad1219b3b798eafc14151811ed9a1b3 (patch) | |
tree | f82d8da0763f0dbc62dedb2aa9aaa51114d2aad9 /src/local/client.nim | |
parent | b035e53d641d71fab89f92cd8d5188501be0d058 (diff) | |
download | chawan-d91d1dda2ad1219b3b798eafc14151811ed9a1b3.tar.gz |
Compile with styleCheck:usages
much better
Diffstat (limited to 'src/local/client.nim')
-rw-r--r-- | src/local/client.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/local/client.nim b/src/local/client.nim index 56fa5c42..d8608503 100644 --- a/src/local/client.nim +++ b/src/local/client.nim @@ -227,7 +227,7 @@ proc handleCommandInput(client: Client, c: char): EmptyPromise = client.pager.inputBuffer &= c let action = getNormalAction(client.config, client.pager.inputBuffer) let p = client.evalAction(action, client.pager.precnum) - if not client.feedNext: + if not client.feednext: client.pager.precnum = 0 client.pager.notnum = false client.handlePagerEvents() @@ -262,10 +262,10 @@ proc input(client: Client): EmptyPromise = if edit.write(client.pager.inputBuffer, client.pager.term.cs): client.pager.inputBuffer = "" else: - client.feedNext = true + client.feednext = true elif not client.feednext: discard client.evalAction(action, 0) - if not client.feedNext: + if not client.feednext: client.pager.updateReadLine() else: p = client.handleCommandInput(c) |