From 6a0308642d952f56fee549cf908ee5d0bbc5df3e Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 17 Feb 2024 22:29:04 +0100 Subject: pager: fix compilation on 1.6.14 --- src/local/pager.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit 1.4.1-2-gfad0