Comments (7)
Thanks for testing :D
What OS, Ruby version and terminal are you using?
from paint.
It should look like this ;)
┌── info ───────────────────────────┐
J-_-L │ https://github.com/janlelis/paint │
├── usage ──────────────────────────┤
│ require 'paint' │
│ puts Paint['J-_-L', :red] # J-_-L │
└───────────────────────────────────┘
from paint.
Sorry for the lack of information, here it is:
OS: Arch Linux, uname -a: Linux ikarus 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 6 22:37:55 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz GenuineIntel GNU/Linux
ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
RubyGems version: 1.8.5
Terminal: gnome-terminal 3.0.1
Terminal font is the default "Monospace" font, font size 11.
Vale,
Quintus
from paint.
The issue Qunitus is having is a terminal related issue. For whatever reason, gnome-terminal doesn't handle the extended drawing characters?
Perhaps something like "UTF-8" mode needs to be turned on for that to work.
from paint.
Perhaps something like "UTF-8" mode needs to be turned on for that to work.
I think my language settings are quite UTF-8:
$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
Shouldn't be the problem therefore.
Valete,
Quintus
PS: Same with sudo:
$ sudo locale
Passwort:
Sorry, try again.
Passwort:
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
from paint.
Strange - I also use gnome-terminal and don't have the issue (with ubuntu)...
I am closing this thread, because it's not directly related to the gem. However, if you find something interesting about this issue, please (also) post it here ;)
from paint.
Hi,
I'm still getting bad things on Fedora 15/Ruby 1.8.7 with this message. I've commented your last commit here: 096bc04#comments
Please consider it carefully :)
from paint.
Related Issues (19)
- Broken benchmark
- Output still includes "NOTHING" escape sequence when mode is 0 HOT 1
- CSS colors should accept upper case hex HOT 1
- Can't load paint/pa under Rails Console HOT 2
- Gem.gunzip deprecation warning when bundling with Paint 2.0.1
- Unable to bundle install because of bundle is locked to paint (0.8.7)
- urxvt does not support 24-bit color and should probably be blacklisted HOT 1
- NO_COLOR standard HOT 1
- macOS Terminal.app is 256-color HOT 1
- oudated rainbow 3.0.0 make CI crash HOT 1
- Paint['Ruby', "blue", "yellow"] results in blinking black on white HOT 8
- Issue with nesting and modifiers not being terminated HOT 2
- Paint % [...] fails with frozen template HOT 1
- Windows CI build stops at `cinst` not being a command, in Ruby 3.0 HOT 4
- Performance HOT 3
- Please lessen (or remove) the post install message. HOT 3
- JRuby 1.9-mode installation error HOT 4
- require "rbconfig" missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paint.