~rabbits/turye

d16e76f548188c67a8ab63e8f602b908d344d844 — Devine Lu Linvega 5 months ago b23c80f
Made tabs responsive
1 files changed, 6 insertions(+), 4 deletions(-)

M src/turye.tal
M src/turye.tal => src/turye.tal +6 -4
@@ 385,7 385,7 @@ JMP2r
	.preview/x LDZ2 #0002 SUB2 .Screen/x DEO2
	.preview/y LDZ2 #0011 SUB2 .Screen/y DEO2
	#0a ;draw-chr/color STA
	;dict/preview #f8 draw-tab
	;dict/preview draw-tab

	( fill )
	.preview/x LDZ2 .Screen/x DEO2


@@ 425,7 425,9 @@ JMP2r

JMP2r

@draw-tab ( str* !len -- )
@draw-tab ( str* -- )

	STH2k #00 STH2r get-strw NIP #03 SFT #02 ADD SUB

	.Screen/x DEI2 ROT
	#15 .Screen/auto DEO


@@ 462,7 464,7 @@ JMP2r
	.collection-view/x LDZ2 #0002 SUB2 .Screen/x DEO2
	.collection-view/y LDZ2 #0011 SUB2 .Screen/y DEO2
	;draw-chr/color STA
	;src #00 ;src get-strw NIP #03 SFT #02 ADD SUB draw-tab
	;src draw-tab

JMP2r



@@ 508,7 510,7 @@ JMP2r
		DUP #04 SFT hexc ;buf/hn STA
		hexc ;buf/ln STA
	#0a ;draw-chr/color STA
	;buf #fd draw-tab
	;buf draw-tab

@draw-editor ( -- )