qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs shell.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs shell.c
Date: Wed, 12 Apr 2017 03:56:15 -0400 (EDT)

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        17/04/12 03:56:15

Modified files:
        .              : shell.c 

Log message:
        shell: move point to the end of buffer in start-shell
        - C-x RET RET can be used to go to the shell prompt directly

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/shell.c?cvsroot=qemacs&r1=1.124&r2=1.125

Patches:
Index: shell.c
===================================================================
RCS file: /sources/qemacs/qemacs/shell.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -b -r1.124 -r1.125
--- shell.c     12 Apr 2017 07:54:30 -0000      1.124
+++ shell.c     12 Apr 2017 07:56:15 -0000      1.125
@@ -1688,6 +1688,8 @@
         b = s->b;
         shs = shell_get_state(s, 0);
         if (shs && strstart(b->name, "*shell", NULL)) {
+            /* move to end of buffer (start interactive mode) */
+            s->offset = b->total_size;
             if (shs->pid >= 0)
                 return;
         } else {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]