Skip to content

Instantly share code, notes, and snippets.

@hktechn0
Created February 15, 2010 17:53
Show Gist options
  • Save hktechn0/304834 to your computer and use it in GitHub Desktop.
Save hktechn0/304834 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
#-*- coding: utf-8 -*-
import curses
import locale
def test(stdcur):
stdcur.clear()
stdcur.addstr(0, 0, "abcde")
stdcur.addstr(1, 0, "あいうえお")
stdcur.refresh()
stdcur.getch()
locale.setlocale(locale.LC_ALL, '')
curses.wrapper(test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment