Techmino icon indicating copy to clipboard operation
Techmino copied to clipboard

idea for fixing console line break issue

Open User670 opened this issue 2 years ago • 3 comments

... dictionary and help pages can do line breaks... I wonder if it's possible to reuse that component in the console to have more sensible line breaks

--pseudocode
function add_new_line_to_console_display(line)
    display_text=display_text..line
    textarea_draw(display_text)
end

idk if that makes sense

User670 avatar May 19 '23 12:05 User670

wait, I thought zictionary used something like printf() for the line breaks

Not-A-Normal-Robot avatar May 19 '23 13:05 Not-A-Normal-Robot

wait, I thought zictionary used something like printf() for the line breaks

idk what's inside so uhhhh

User670 avatar May 19 '23 14:05 User670

Love2D have a function that named FONT:getWrap() but seem MrZ hadn't known until I found and sent him a page in Love2D's wiki about it He used it in Techmino Galaxy, but not sure if he uses it in Techmino or not

Edit: I misused "." and ":" in Lua, sorry

SweetSea-ButImNotSweet avatar Jul 23 '23 10:07 SweetSea-ButImNotSweet