richterm

"terminal emulator" with support for text fonts and images for plan9
git clone git://nsmpr.xyz/richterm.git
Log | Files | Refs | README

commit 94216139b5b88511167b069f8d9da1acfa4d4912
parent 11218bf9035eecd7b3db169c5e142c397177822b
Author: Pavel Renev <an2qzavok@gmail.com>
Date:   Thu,  1 Jan 1970 02:53:58 +0000

cosmetic changes

Diffstat:
Mrichterm.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/richterm.c b/richterm.c @@ -194,7 +194,7 @@ threadmain(int argc, char **argv) while (nbrecv(redrawc, &ov) != 0); lockdisplay(display); - draw(screen, screen->r, Inormbg, nil, ZP); + draw(screen, rich.r, Inormbg, nil, ZP); drawelems(); drawscrollbar(); flushimage(display, 1); @@ -491,8 +491,8 @@ resize(void) Pt(screen->r.min.x + 13, screen->r.max.y - 1) ); rich.r = Rpt( - addpt(screen->r.min, Pt(17, 1)), - subpt(screen->r.max, Pt(1,1)) + addpt(screen->r.min, Pt(17, 0)), + screen->r.max ); }