Fix panic on cmdsend. - sam - An updated version of the sam text editor.
 (HTM) git clone git://vernunftzentrum.de/sam.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 7d148a12c0bfd46cc11f660aca9113685d187a7d
 (DIR) parent a52daf1643c6759b60847b7466e0d57ddf833cd6
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Tue, 20 Sep 2016 16:01:37 -0500
       
       Fix panic on cmdsend.
       
       Diffstat:
         samterm/main.c                      |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/samterm/main.c b/samterm/main.c
       @@ -838,6 +838,7 @@ cmdsend(Flayer *l, long a, Text *t, const char *arg)
            }
            pushkbd('\n');
            type(&cmd.l[cmd.front]);
       +    flushtyping(0);
            cmdjump(l, a, t, NULL);
        
            return a;
       @@ -879,7 +880,7 @@ CommandEntry commands[Cmax] ={
            [Ceol]            = {cmdeol,            false, false},
            [Cbol]            = {cmdbol,            false, false},
            [Ctab]            = {cmdtab,            false, false},
       -    [Csend]           = {cmdsend,           false, false}
       +    [Csend]           = {cmdsend,           true,  false}
        };