Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help,
read this .
Croutonix
Prole
Posts: 34 Joined: Fri Aug 12, 2016 12:49 pm
Post
by Croutonix » Sat Aug 20, 2016 1:16 am
Code: Select all
os.execute("title Hello World")
print("Line 1")
print("Line 2")
os.execute("pause")
Prints
But if no title is set:
Code: Select all
print("Line 1")
print("Line 2")
os.execute("pause")
It prints
Setting the console title removes line ends or removes something at least.
Any idea why? Any other way to set console title?
This might be a Lua isssue not a love one
Tried on lua console and it works the right way. This is a love issue.
Console is enabled in .love file
Download .love file
Sorry for all these not game related issues but you're my only hope!
Positive07
Party member
Posts: 1014 Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina
Post
by Positive07 » Sat Aug 20, 2016 2:52 am
Yeah, it's a
reported issue in the issue tracker, no idea why it was marked as invalid, it's a completely valid one
Maybe you should go there and comment about it
for i, person
in ipairs (everybody)
do
[tab] if not person.obey
then person:setObey(
true )
end
end
love.system.openURL(
github.com/pablomayobre )
Croutonix
Prole
Posts: 34 Joined: Fri Aug 12, 2016 12:49 pm
Post
by Croutonix » Sat Aug 20, 2016 11:16 am
Also note that if I set title and open my program with a batch file
Code: Select all
@echo off
title Hello World!
love.exe src <program.exe>
Everything displays correctly.
slime
Solid Snayke
Posts: 3162 Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:
Post
by slime » Sat Aug 20, 2016 5:30 pm
I did some tests:
https://bitbucket.org/rude/love/issues/ ... t-30001224
tl;dr: probably Microsoft's fault. There's not much I can actually do to solve it in LOVE's code I think, although you'll be able to use lovec.exe when 0.10.2 comes out if you want to output to a console, and lovec.exe doesn't have that issue as far as I can tell.
Croutonix
Prole
Posts: 34 Joined: Fri Aug 12, 2016 12:49 pm
Post
by Croutonix » Sat Aug 20, 2016 8:41 pm
Is it coming soon or only in a few months?
Users browsing this forum: No registered users and 4 guests