acme: refresh window properly after Tab command (Fazlul Shahriar)

This commit is contained in:
Russ Cox 2007-11-28 23:32:32 -05:00
parent a4b5da0be7
commit 34b2f0bc1d

View file

@ -1310,7 +1310,7 @@ tab(Text *et, Text *_0, Text *argt, int _1, int _2, Rune *arg, int narg)
if(tab > 0){
if(w->body.tabstop != tab){
w->body.tabstop = tab;
winresize(w, w->r, TRUE, TRUE);
winresize(w, w->r, FALSE, TRUE);
}
}else
warning(nil, "%.*S: Tab %d\n", w->body.file->nname, w->body.file->name, w->body.tabstop);