aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/samterm/flayer.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-05acme, sam, samterm: remove weird switch usageRuss Cox1-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.
2012-11-26samterm: retina scaling for scroll bars, bordersRuss Cox1-9/+18
R=rsc http://codereview.appspot.com/6844083
2007-05-10Better tick management - no frdrawseltick calls.rsc1-4/+6
2007-05-10manage off-screen tick betterrsc1-7/+17
2005-01-27add autoindent (-a) and chording.rsc1-1/+2
clean up argument parsing.
2003-09-30Initial revisionrsc1-0/+485