From 91477b902ec2c36d893e72e99916469f99558ac9 Mon Sep 17 00:00:00 2001
From: Kaz Kylheku <kaz@kylheku.com>
Date: Thu, 21 Feb 2019 06:22:58 -0800
Subject: linenoise: Ctrl-X Ctrl-P missing from cheatsheet.

* linenoise/linenoise.c (show_help): Rearrange contents.
^X+Tab moves from page 3 to page 2, to a spot where there
is just enough room. That gives us room to place ^X^P on
page 3.
---
 linenoise/linenoise.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/linenoise/linenoise.c b/linenoise/linenoise.c
index 4caeb35d..cb4b9f41 100644
--- a/linenoise/linenoise.c
+++ b/linenoise/linenoise.c
@@ -807,13 +807,13 @@ static void show_help(lino_t *l)
         L"^F forward  ^E end buf/ln   ^D del right     ^K del ln end  Tab complete\r"
         L"^5 parmatch ^] parmatch     ^W del word left ^V next ch verbatim [p. 1/3]",
 
-        L"^L refresh  ^P hist prev    ^S select        ^Q paste   ^J multi ln toggle\r"
-        L"^C cancel   ^N hist next    ^^ sel endpt swp ^D sel cut\r"
+        L"^L refresh  ^P hist prev    ^S select        ^Q paste   ^J     multi ln toggle\r"
+        L"^C cancel   ^N hist next    ^^ sel endpt swp ^D sel cut ^X+Tab substr complete\r"
         L"^Z suspend  ^O undo         ^Y yank          ^W sel + word cut   [p. 2/3]",
 
         L"^X^V verbatim ins mode  ^X^A     ins prev ln atom      ^X^E extrn editor\r"
-        L"^X^R ins prev ln        ^X+Enter submit; keep hist pos ^X^Q exch clip/sel\r"
-        L"^X^W ins prev ln word   ^X+Tab   substring complete              [p. 3/3]"
+        L"^X^R ins prev ln        ^X^P     ins prev eval output  ^X^Q exch clip/sel\r"
+        L"^X^W ins prev ln word   ^X+Enter submit; keep hist pos           [p. 3/3]"
     };
     lc->mlmode = 1;
     lc->prompt = L"";
-- 
cgit v1.2.3