tacme: refresh window properly after Tab command (Fazlul Shahriar) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 34b2f0bc1d3859ca7b52d9c71fce0475e6e84825
(DIR) parent a4b5da0be757518006f2961838194905459548ef
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Wed, 28 Nov 2007 23:32:32 -0500
acme: refresh window properly after Tab command (Fazlul Shahriar)
Diffstat:
M src/cmd/acme/exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/acme/exec.c b/src/cmd/acme/exec.c
t@@ -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);