about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index d30a0dbc..a5b63523 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -874,7 +874,7 @@ proc updateReadLine*(pager: Pager) =
       of BUFFER: pager.container.readCanceled()
       of COMMAND: pager.commandMode = false
       else: discard
-  if lineedit.state in {CANCEL, FINISH}:
+  if lineedit.state in {LineEditState.CANCEL, LineEditState.FINISH}:
     if pager.lineedit.get == lineedit:
       pager.clearLineEdit()