Make sure to update current layer on b command. - 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 675674530d0371c1d64353df951a74a4dbb971c3
 (DIR) parent f32e34134798a50a907602de6a1348dbde975626
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Thu, 26 May 2016 22:27:54 -0500
       
       Make sure to update current layer on b command.
       
       Diffstat:
         samterm/mesg.c                      |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/samterm/mesg.c b/samterm/mesg.c
       @@ -8,6 +8,7 @@
        #include "samterm.h"
        
        extern char *exname;
       +extern Flayer *flast;
        
        #define        HSIZE        3        /* Type + short count */
        Header        h;
       @@ -140,6 +141,7 @@ inmesg(Hmesg type, int count)
                                flupfront(lp);
                                flborder(lp, 0);
                                work = lp;
       +            flast = lp;
                        }else
                                current(lp);
                        break;