git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f723fc9
)
regedit:hexedit: make sure cursor is updated on physical screen.
author
C. Davis
<cd.rattan@gmail.com>
Thu, 9 Aug 2012 03:06:13 +0000
(20:06 -0700)
committer
Michael Adam
<obnox@samba.org>
Mon, 29 Apr 2013 11:06:14 +0000
(13:06 +0200)
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/regedit_hexedit.c
patch
|
blob
|
history
diff --git
a/source3/utils/regedit_hexedit.c
b/source3/utils/regedit_hexedit.c
index 69ed622c7ea871fe4a8c65c259e325068ae4c37d..c86feaddb04ff45fc91a26bf32bcf98341fef9b2 100644
(file)
--- a/
source3/utils/regedit_hexedit.c
+++ b/
source3/utils/regedit_hexedit.c
@@
-71,8
+71,10
@@
void hexedit_set_cursor(struct hexedit *buf)
werase(buf->status_line);
wprintw(buf->status_line, "Len:%lu Off:%lu Val:0x%X", buf->len,
buf->cursor_offset, buf->data[buf->cursor_offset]);
- wrefresh(buf->status_line);
wmove(buf->win, buf->cursor_y, buf->cursor_x);
+ wcursyncup(buf->win);
+ wsyncup(buf->win);
+ untouchwin(buf->win);
}
void hexedit_refresh(struct hexedit *buf)