sam: ignore autoindent in cmd window
This commit is contained in:
parent
4148ebcf0e
commit
7d01c96ada
1 changed files with 1 additions and 2 deletions
|
@ -530,8 +530,7 @@ type(Flayer *l, int res) /* what a bloody mess this is */
|
||||||
*p++ = ' ';
|
*p++ = ' ';
|
||||||
} else
|
} else
|
||||||
*p++ = c;
|
*p++ = c;
|
||||||
if(autoindent)
|
if(c == '\n' && autoindent && t != &cmd){
|
||||||
if(c == '\n'){
|
|
||||||
/* autoindent */
|
/* autoindent */
|
||||||
int cursor, ch;
|
int cursor, ch;
|
||||||
cursor = ctlu(&t->rasp, 0, a+(p-buf)-1);
|
cursor = ctlu(&t->rasp, 0, a+(p-buf)-1);
|
||||||
|
|
Loading…
Reference in a new issue