summaryrefslogtreecommitdiff
path: root/sys/src/cmd/samterm/main.c
AgeCommit message (Collapse)Author
2022-04-29sam: ignore autoindent in cmd windowumbraticus@prosimetrum.com
2020-04-25tweak selection criteriaOri Bernstein
grow selection from point of click, not start of selection region. starting at the beginning of the selection region causes the match logic to kick in, which is confusing.
2020-04-25triple click selection in samOri Bernstein
three clicks selects a whitespace-delimited line.
2019-10-21Make ctrl+g focus text windows and cycle zeroxed copies (thanks kvik)Ori Bernstein
2015-04-28sam: don't make scroll-wheel-up change focus (thanks clsmith)cinap_lenrek
2014-08-04samterm: fix ctrl-b crash when cmd window resized (thanks revex)cinap_lenrek
for reference: On IRC revex reported that samterm crashes on Ctrl-b if the command window has been resized. I was able to reproduce: http://plan9.stanleylieber.com/sam/bugs/ctrl-b.png ; acid 831213 /proc/831213/text:amd64 plan 9 executable /sys/lib/acid/port /sys/lib/acid/amd64 acid: lstk() abort()+0x0 /sys/src/libc/9sys/abort.c:6 panic1(s=0x400448)+0x27 /sys/src/cmd/samterm/main.c:692 panic()+0x19 /sys/src/cmd/samterm/main.c:684 lldelete()+0x71 /sys/src/cmd/samterm/flayer.c:221 flupfront(l=0x40eac0)+0x18 /sys/src/cmd/samterm/flayer.c:139 v=0x20062900000001 current(nw=0x40eac0)+0x49 /sys/src/cmd/samterm/main.c:156 type(l=0x40eac0,res=0x15300000001)+0x37c /sys/src/cmd/samterm/main.c:658 t=0x40eaa8 buf=0x419ec0 p=0x41dd48 a=0x0 backspacing=0x200000000 c=0x41dd4800000002 cursor=0x0 a0=0x0 threadmain(argv=0x7ffffeffefa0)+0x21c /sys/src/cmd/samterm/main.c:75 r=0xb0000001b1 got=0xfefefefe00000002 chord=0x0 nwhich=0x43c310 scr=0x200000000 t=0xfefefefefefefefe w=0x43c310fefefefe mainlauncher()+0x18 /sys/src/libthread/main.c:59 launcheramd64(arg=0x4194a0,f=0x221673)+0x10 /sys/src/libthread/amd64.c:11 0xfefefefefefefefe ?file?:0 acid:
2014-05-12samterm: fix esc, change ctrl+b behaviour to a more useful one (thanks cinap)ftrvxmtrx
2014-05-12samterm: clean up key defines. use ctrl+b as in rioftrvxmtrx
2013-08-08sam: avoid thread stack overflow with 32bit runes (from sources)cinap_lenrek
2013-06-26samterm: fix crash on scroll when there is no layer (thanks BurnZeZ)cinap_lenrek
2013-04-04sam, samterm: add -i flag to make tab insert spaces up to the next tabstop ↵ppatience0
and backspace to delete spaces until the previous tabstop
2013-01-27sam: make scroll wheel work outside scrollbarcinap_lenrek
2012-04-24samterm: cleanupstanley lieber
2012-04-24samterm: enable scroll wheel scrolling in the scrollbar (for scrolling)stanley lieber
2012-02-10sam: whitespace/stylecinap_lenrek
2012-02-10sam: chordingcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen