Add a basic writer type to print single bytes

It prints always to the last line and shifts lines up on newline or line wrap. To easily shift lines up, we make the ColorCode and ScreenChar types Copy.
This commit is contained in:
Philipp Oppermann
2015-09-24 14:24:45 +02:00
parent 49fd8926a5
commit ab464b107d
2 changed files with 53 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
// limitations under the License.
#![feature(no_std, lang_items)]
#![feature(const_fn)]
#![feature(const_fn, unique)]
#![no_std]
extern crate rlibc;