Index: uspace/app/bdsh/input.c
===================================================================
--- uspace/app/bdsh/input.c	(revision ba26129e20bfce4d4028c9503f848169f3d55139)
+++ uspace/app/bdsh/input.c	(revision 0f06dbc9e279a4380434d87575cde2b6424d2b9b)
@@ -140,5 +140,5 @@
 		return NULL;
 
-	wstr_nstr(str, ti->buffer, STR_BOUNDS(ti->nc) + 1);
+	wstr_to_str(str, STR_BOUNDS(ti->nc) + 1, ti->buffer);
 
 	return str;
Index: uspace/app/edit/edit.c
===================================================================
--- uspace/app/edit/edit.c	(revision ba26129e20bfce4d4028c9503f848169f3d55139)
+++ uspace/app/edit/edit.c	(revision 0f06dbc9e279a4380434d87575cde2b6424d2b9b)
@@ -396,5 +396,5 @@
 		return NULL;
 
-	wstr_nstr(str, buffer, STR_BOUNDS(wstr_length(buffer)) + 1);
+	wstr_to_str(str, STR_BOUNDS(wstr_length(buffer)) + 1, buffer);
 
 	console_set_color(con, COLOR_BLACK, COLOR_WHITE, 0);
