Curses and Terminal DEC

Discussion in 'Python' started by Leif B. Kristensen, Feb 17, 2005.

  1. I'm playing a little with curses (okay, call me a masochist) and have
    found a small gotcha. When I do eg. a screen = stdscr.subwin(10,20,0,0)
    and then a screen.border(), I end up with an ugly border where the
    right side is seriously misaligned.

    I've figured out the reason: I love the Terminal DEC font in Linux, and
    have set it as my preferred font in the KDE Konsole. When I switch to
    the default font, everything looks dandy. But is there a way to get a
    nice border with the Terminal DEC font?
    --
    Leif Biberg Kristensen
    Leif B. Kristensen, Feb 17, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. J Turner

    Curses, Terminal Settings

    J Turner, Aug 28, 2003, in forum: Python
    Replies:
    0
    Views:
    381
    J Turner
    Aug 28, 2003
  2. Jean-Paul Calderone
    Replies:
    2
    Views:
    423
    Joel Hedlund
    Feb 9, 2006
  3. mix
    Replies:
    4
    Views:
    1,013
    Emile van Sebille
    Oct 30, 2010
  4. Kenneth McDonald
    Replies:
    8
    Views:
    256
    James Gray
    Sep 26, 2008
  5. J.E./C.Y.Cripps
    Replies:
    0
    Views:
    120
    J.E./C.Y.Cripps
    Dec 3, 2004
Loading...

Share This Page