File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
codex-rs/core/src/unified_exec Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ use super::session::OutputBuffer;
4747use super :: session:: OutputHandles ;
4848use super :: session:: UnifiedExecSession ;
4949
50- const UNIFIED_EXEC_ENV : [ ( & str , & str ) ; 8 ] = [
50+ const UNIFIED_EXEC_ENV : [ ( & str , & str ) ; 9 ] = [
5151 ( "NO_COLOR" , "1" ) ,
5252 ( "TERM" , "dumb" ) ,
5353 ( "LANG" , "C.UTF-8" ) ,
@@ -56,6 +56,7 @@ const UNIFIED_EXEC_ENV: [(&str, &str); 8] = [
5656 ( "COLORTERM" , "" ) ,
5757 ( "PAGER" , "cat" ) ,
5858 ( "GIT_PAGER" , "cat" ) ,
59+ ( "GH_PAGER" , "cat" ) ,
5960] ;
6061
6162fn apply_unified_exec_env ( mut env : HashMap < String , String > ) -> HashMap < String , String > {
@@ -679,6 +680,7 @@ mod tests {
679680 ( "COLORTERM" . to_string ( ) , String :: new ( ) ) ,
680681 ( "PAGER" . to_string ( ) , "cat" . to_string ( ) ) ,
681682 ( "GIT_PAGER" . to_string ( ) , "cat" . to_string ( ) ) ,
683+ ( "GH_PAGER" . to_string ( ) , "cat" . to_string ( ) ) ,
682684 ] ) ;
683685
684686 assert_eq ! ( env, expected) ;
You can’t perform that action at this time.
0 commit comments