From d91d1dda2ad1219b3b798eafc14151811ed9a1b3 Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 28 Dec 2023 21:19:21 +0100 Subject: Compile with styleCheck:usages much better --- src/local/client.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/local/client.nim') 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) -- cgit 1.4.1-2-gfad0