diff options
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r-- | src/local/pager.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index ac241d73..aa546082 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -260,7 +260,10 @@ proc newPager*(config: Config, attrs: WindowAttributes, forkserver: ForkServer, return pager proc launchPager*(pager: Pager, infile: File) = - pager.term.start(infile) + case pager.term.start(infile) + of tsrSuccess: discard + of tsrDA1Fail: + pager.alert("Failed to query DA1, please set display.query-da1 = false") func infile*(pager: Pager): File = return pager.term.infile |