aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/samterm/flayer.c
Commit message (Collapse)AuthorAgeFilesLines
* acme, sam, samterm: remove weird switch usageRuss Cox2021-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | For whatever reason all three of these programs contain switches like: switch(x) { case 1: if(cond) case 2: f(); } Like Duff's device, this is legal C but more obscure than it really needs to be. This commit assumes those are intended as written and simply writes them more clearly. I did consider that maybe they are mistakes, but in the case of sam/regexp.c, my rewrite in this commit matches the acme/regx.c that has been in plan9port since I added acme in 2003. (I didn't bother to dig up the old Plan 9 releases.) Assuming acme/regx.c has been correct for the past two decades, this commit should be correct too.
* samterm: retina scaling for scroll bars, bordersRuss Cox2012-11-261-9/+18
| | | | | R=rsc http://codereview.appspot.com/6844083
* Better tick management - no frdrawseltick calls.rsc2007-05-101-4/+6
|
* manage off-screen tick betterrsc2007-05-101-7/+17
|
* add autoindent (-a) and chording.rsc2005-01-271-1/+2
| | | | clean up argument parsing.
* Initial revisionrsc2003-09-301-0/+485