• Post Reply Bookmark Topic Watch Topic
  • New Topic

lanterna library remove single characters  RSS feed

 
Derryl Larson
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
I am currently trying to build some programs using google's lanterna library, but I still can't find a method to remove single characters from a Terminal/Screen/Window object. Does such a method exist, at least
for one those three?
 
Knute Snortum
Sheriff
Posts: 4274
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a guess, but have you tried



Tell us what you've tried and where you've searched.
 
Derryl Larson
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To write on the screen, I actually use the Screen/Screenwriter-object:



I read the tutorial on the google homepage, but it only explains how to clear the whole screen. I also searched about it on google, but it seems like there's not so much material about it...
 
Knute Snortum
Sheriff
Posts: 4274
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried sending drawString() a 0x08?
 
Derryl Larson
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
*FACEPALM*
I didn't know an "empty" character exists in uniode. I wonder how I could have been so stupid, it works jast fine now. Thanks for the quick help
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!