char-slop/berry
multipurpose self-modifiable agentic harness
git clone https://git.t4t.associates/char-slop/berry
0a0c32b
main
1/* the terminal fills the view, in berry's colors, one grid cell per character */ 2. terminal-view { 3position : relative; 4display : grid; 5grid-template-rows : minmax ( 0 , 1 fr ) auto; 6height : 100 % ; 7} 8. terminal-screen { 9position : relative; 10overflow : hidden; 11margin : 8 px 12 px ; 12font-family : var ( --mono ); 13font-size : var ( --text-ui ); 14line-height : 18 px ; 15font-variant-ligatures : none; 16outline : none; 17cursor : text; 18} 19/* the cells are a grid of their own, which their rows and runs inherit as a terminal's lines do */ 20. terminal-screen * { 21line-height : inherit; 22} 23/* a shell that has exited leaves its last screen, dimmed */ 24. terminal-screen { 25transition : opacity0.3 s ; 26} 27. terminal-view . exited . terminal-screen { 28opacity : 0.45 ; 29} 30. terminal-grid , 31. terminal-rows { 32position : absolute; 33top : 0 ; 34left : 0 ; 35} 36. terminal-grid { 37pointer-events : none; 38user-select : none; 39} 40. terminal-rows { 41width : 100 % ; 42} 43. terminal-rows > div { 44position : relative; 45width : 100 % ; 46white-space : pre; 47overflow : hidden; 48} 49/* a wide character takes two cells, whatever width its font gives it */ 50. terminal-run , 51. terminal-glyph { 52display : inline-block; 53vertical-align : top; 54height : 100 % ; 55} 56. terminal-probe { 57position : absolute; 58visibility : hidden; 59white-space : pre; 60} 61/* typed into, but never seen: the screen is what shows */ 62. terminal-input { 63position : absolute; 64top : 0 ; 65left : 0 ; 66width : 1 px ; 67height : 1 px ; 68padding : 0 ; 69border : 0 ; 70opacity : 0 ; 71resize : none; 72} 73. terminal-status { 74display : flex; 75align-items : center; 76gap : 16 px ; 77padding : 8 px 12 px ; 78background : var ( --panel ); 79border-top : 1 px solidvar ( --line ); 80font-size : var ( --text-ui ); 81color : var ( --muted ); 82} 83. terminal-status-text { 84margin : 0 ; 85}