Sha256: 4532192fb0496edb0deb32c48ced676f3ca87841518c3c11265fd71d3ee2d429
Contents?: true
Size: 343 Bytes
Versions: 2
Compression:
Stored size: 343 Bytes
Contents
require_relative "../lib/curses" include Curses init_screen begin addstr("The following letter A should be BOLD and UNDERLINED by using addch:\n") addch('A'.ord | A_BOLD | A_UNDERLINE) addstr("\nIt should look the same as when using attron and addstr:\n") attron(A_BOLD | A_UNDERLINE) addstr("A") getch ensure close_screen end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
curses-1.4.3 | sample/addch.rb |
curses-1.4.2 | sample/addch.rb |