File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ fn test_esc_key_handling() {
4444 let stdin = child. stdin . as_mut ( ) . expect ( "Failed to get stdin" ) ;
4545
4646 // 1. Select Create worktree (4th item)
47- stdin. write_all ( b"\x1b [B\x1b [B\x1b [B\r " ) . unwrap ( ) ; // 下矢印3回 + Enter
47+ stdin. write_all ( b"\x1b [B\x1b [B\x1b [B\r " ) . unwrap ( ) ; // Down arrow 3 times + Enter
4848
4949 // 2. Send ESC key to cancel
5050 stdin. write_all ( b"\x1b " ) . unwrap ( ) ; // ESC
5151
5252 // 3. Select Exit
5353 stdin
5454 . write_all ( b"\x1b [B\x1b [B\x1b [B\x1b [B\x1b [B\r " )
55- . unwrap ( ) ; // 下矢印5回 + Enter
55+ . unwrap ( ) ; // Down arrow 5 times + Enter
5656
5757 stdin. flush ( ) . unwrap ( ) ;
5858 let _ = stdin;
@@ -110,15 +110,15 @@ fn test_search_esc_handling() {
110110 let stdin = child. stdin . as_mut ( ) . expect ( "Failed to get stdin" ) ;
111111
112112 // 1. Select Search worktrees (3rd item)
113- stdin. write_all ( b"\x1b [B\x1b [B\r " ) . unwrap ( ) ; // 下矢印2回 + Enter
113+ stdin. write_all ( b"\x1b [B\x1b [B\r " ) . unwrap ( ) ; // Down arrow 2 times + Enter
114114
115115 // 2. Send ESC key to cancel
116116 stdin. write_all ( b"\x1b " ) . unwrap ( ) ; // ESC
117117
118118 // 3. Select Exit
119119 stdin
120120 . write_all ( b"\x1b [B\x1b [B\x1b [B\x1b [B\x1b [B\x1b [B\r " )
121- . unwrap ( ) ; // 下矢印6回 + Enter
121+ . unwrap ( ) ; // Down arrow 6 times + Enter
122122
123123 stdin. flush ( ) . unwrap ( ) ;
124124 let _ = stdin;
You can’t perform that action at this time.
0 commit comments