mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-25 14:51:15 -03:00
committed by
Johannes Altmanninger
parent
22e5e63a65
commit
bd4e55b149
@@ -1,5 +1,5 @@
|
||||
use crate::builtins::shared::{STATUS_CMD_ERROR, STATUS_CMD_OK, STATUS_READ_TOO_MUCH};
|
||||
use crate::common::{bytes2wcstring, str2wcstring, wcs2bytes};
|
||||
use crate::common::{bytes2wcstring, wcs2bytes};
|
||||
use crate::fd_monitor::{Callback, FdMonitor, FdMonitorItemId};
|
||||
use crate::fds::{
|
||||
BorrowedFdFile, PIPE_ERROR, make_autoclose_pipes, make_fd_nonblocking, wopen_cloexec,
|
||||
@@ -717,9 +717,6 @@ pub fn append_with_separation(
|
||||
}
|
||||
}
|
||||
|
||||
pub fn append_narrow(&mut self, s: &str) -> bool {
|
||||
self.append(&str2wcstring(s))
|
||||
}
|
||||
// Append data from a narrow buffer, widening it.
|
||||
pub fn append_narrow_buffer(&mut self, buffer: &SeparatedBuffer) -> bool {
|
||||
for rhs_elem in buffer.elements() {
|
||||
|
||||
Reference in New Issue
Block a user