@@ -26,7 +26,6 @@ const xev = global.xev;
2626const Binding = @import ("../../../input.zig" ).Binding ;
2727const CoreConfig = configpkg .Config ;
2828const CoreSurface = @import ("../../../Surface.zig" );
29- const lib = @import ("../../../lib/main.zig" );
3029
3130const ext = @import ("../ext.zig" );
3231const key = @import ("../key.zig" );
@@ -1865,7 +1864,7 @@ pub const Application = extern struct {
18651864 continue ;
18661865 }
18671866
1868- if (lib .cutPrefix (u8 , str , "--command=" )) | v | {
1867+ if (std . mem .cutPrefix (u8 , str , "--command=" )) | v | {
18691868 var cmd : configpkg.Command = undefined ;
18701869 cmd .parseCLI (alloc , v ) catch | err | {
18711870 log .warn ("unable to parse command: {t}" , .{err });
@@ -1874,14 +1873,14 @@ pub const Application = extern struct {
18741873 command = cmd ;
18751874 continue ;
18761875 }
1877- if (lib .cutPrefix (u8 , str , "--working-directory=" )) | v | {
1876+ if (std . mem .cutPrefix (u8 , str , "--working-directory=" )) | v | {
18781877 working_directory = alloc .dupeZ (u8 , std .mem .trim (u8 , v , & std .ascii .whitespace )) catch | err | wd : {
18791878 log .warn ("unable to duplicate working directory: {t}" , .{err });
18801879 break :wd null ;
18811880 };
18821881 continue ;
18831882 }
1884- if (lib .cutPrefix (u8 , str , "--title=" )) | v | {
1883+ if (std . mem .cutPrefix (u8 , str , "--title=" )) | v | {
18851884 title = alloc .dupeZ (u8 , std .mem .trim (u8 , v , & std .ascii .whitespace )) catch | err | t : {
18861885 log .warn ("unable to duplicate title: {t}" , .{err });
18871886 break :t null ;
0 commit comments