terminal user interface to jujutsu. Focused on speed and clarity
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

replace spaces in branch creation to only make one branch at a time

+5 -4
+5 -4
jj_tui/bin/graph_view.ml
··· 251 251 [ 252 252 { 253 253 key = 'c' 254 - ; description = "Create new branches" 254 + ; description = "Create new branch" 255 255 ; cmd = 256 256 PromptThen 257 - ( "Branch names to create" 257 + ( "Branch name to create" 258 258 , fun x -> 259 - Cmd_r ([ "branch"; "create" ] @ (x |> String.split_on_char ' ')) 260 - ) 259 + Cmd_r 260 + ([ "branch"; "create" ] 261 + @ [ x |> String.map (fun c -> if c = ' ' then '_' else c) ]) ) 261 262 } 262 263 ; { 263 264 key = 'd'