linebreak 0.3.1

A library for breaking a given text into lines within a specified width.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2024 Takayuki Sato. All Rights Reserved.
// This program is free software under MIT License.
// See the file LICENSE in this distribution for more details.

use super::Size;
use std::io;

pub fn term_cols() -> Result<usize, io::Error> {
    Error::new(ErrorKind::Unsupported)
}

pub fn term_size() -> Result<usize, io::Error> {
    Error::new(ErrorKind::Unsupported)
}